Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 191.6 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7181/0.7181, allocations: 132.2 MB / 422.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.72 kB / 0.5014 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1254, allocations: 80.2 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.359/0.4845, allocations: 173.6 MB / 0.7492 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008105/0.4926, allocations: 8.616 MB / 0.7577 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.493, allocations: 22.25 kB / 0.7577 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.4936, allocations: 248.5 kB / 0.7579 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005363/0.4942, allocations: 289.2 kB / 0.7582 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.4949, allocations: 343.1 kB / 0.7585 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000951/0.4959, allocations: 1.158 MB / 0.7596 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006215/0.4965, allocations: 0.5568 MB / 0.7602 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.5, allocations: 1.997 MB / 0.7621 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.5004, allocations: 378.3 kB / 0.7625 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.93e-05/0.5004, allocations: 40 kB / 0.7625 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.5006, allocations: 75.97 kB / 0.7626 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.5008, allocations: 255.3 kB / 0.7629 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.501, allocations: 286.5 kB / 0.7631 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005113/0.5015, allocations: 0.6268 MB / 0.7637 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.5015, allocations: 0 / 0.7637 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5015, allocations: 0 / 0.7637 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.5016, allocations: 0 / 0.7637 GB, free: 6.691 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0008514/0.5024, allocations: 0.8251 MB / 0.7645 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.5024, allocations: 8.031 kB / 0.7646 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.436e-05/0.5025, allocations: 99.5 kB / 0.7647 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.189e-05/0.5026, allocations: 71.25 kB / 0.7647 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.5031, allocations: 410.2 kB / 0.7651 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.5031, allocations: 45.28 kB / 0.7652 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.5e-05/0.5032, allocations: 52 kB / 0.7652 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000905/0.5041, allocations: 0.7042 MB / 0.7659 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.5041, allocations: 7.938 kB / 0.7659 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.5042, allocations: 31.91 kB / 0.7659 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/0.5042, allocations: 35.98 kB / 0.766 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005637/0.5048, allocations: 378.5 kB / 0.7663 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.507, allocations: 3.219 MB / 0.7695 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.5072, allocations: 222.1 kB / 0.7697 GB, free: 204 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.5074, allocations: 132.6 kB / 0.7698 GB, free: 40 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.5074, allocations: 7.938 kB / 0.7698 GB, free: 32 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.5074, allocations: 54.53 kB / 0.7699 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.5075, allocations: 0 / 0.7699 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006072/0.5081, allocations: 249.6 kB / 0.7701 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.5082, allocations: 290.9 kB / 0.7704 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006398/0.5088, allocations: 0.6838 MB / 0.771 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.5089, allocations: 29.7 kB / 0.7711 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.5091, allocations: 268.2 kB / 0.7713 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.5091, allocations: 31.55 kB / 0.7714 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.5091, allocations: 29.7 kB / 0.7714 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5093, allocations: 370.8 kB / 0.7717 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.5094, allocations: 43.89 kB / 0.7718 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.5095, allocations: 93.05 kB / 0.7719 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.5098, allocations: 129 kB / 0.772 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5098, allocations: 0 / 0.772 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003121/0.5101, allocations: 192.8 kB / 0.7722 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.5101, allocations: 11.92 kB / 0.7722 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5101, allocations: 4 kB / 0.7722 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5101, allocations: 0 / 0.7722 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.5103, allocations: 39.91 kB / 0.7722 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5104, allocations: 3.984 kB / 0.7722 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.5106, allocations: 67.55 kB / 0.7723 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.5106, allocations: 4 kB / 0.7723 GB, free: 13.31 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.5108, allocations: 197.8 kB / 0.7725 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.511, allocations: 71.19 kB / 0.7726 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.511, allocations: 56.33 kB / 0.7726 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.511, allocations: 4 kB / 0.7726 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5111, allocations: 0 / 0.7726 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.5111, allocations: 11.94 kB / 0.7726 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.5123, allocations: 1.304 MB / 0.7739 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5123, allocations: 0 / 0.7739 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.5125, allocations: 41.16 kB / 0.7739 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5125, allocations: 7.984 kB / 0.774 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.5125, allocations: 8 kB / 0.774 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5125, allocations: 0 / 0.774 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5125, allocations: 7.938 kB / 0.774 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.5129, allocations: 330.6 kB / 0.7743 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.513, allocations: 156.3 kB / 0.7744 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.5131, allocations: 7.984 kB / 0.7744 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.5133, allocations: 11.98 kB / 0.7745 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.5133, allocations: 20.81 kB / 0.7745 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.5133, allocations: 4 kB / 0.7745 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004812/0.5138, allocations: 0.499 MB / 0.775 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5138, allocations: 0 / 0.775 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003461/0.5142, allocations: 80.22 kB / 0.775 GB, free: 10.36 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007216/0.5149, allocations: 0.9111 MB / 0.7759 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002788/0.5152, allocations: 111.8 kB / 0.776 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5152, allocations: 0 / 0.776 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.5154, allocations: 59.83 kB / 0.7761 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.5166, allocations: 285.9 kB / 0.7764 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004789/0.5214, allocations: 4.67 MB / 0.7809 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.5218, allocations: 0.9089 MB / 0.7818 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000229/0.522, allocations: 108.6 kB / 0.7819 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.5222, allocations: 167.4 kB / 0.7821 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.5222, allocations: 0 / 0.7821 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.713/2.235, allocations: 13.28 MB / 0.795 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/2.235, allocations: 229.4 kB / 0.7953 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/4.632, allocations: 0 / 0.7953 GB, free: 5.703 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)