Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_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.0007204/0.0007208, allocations: 93.33 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007413/0.0007416, allocations: 176.4 kB / 16.58 MB, free: 6.062 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.157/1.157, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5991/0.5991, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.0002619, allocations: 12 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1139, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.3581/0.4721, allocations: 159.9 MB / 0.7131 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007136/0.4792, allocations: 8.079 MB / 0.7209 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002765/0.4795, allocations: 27.69 kB / 0.721 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.48, allocations: 214.4 kB / 0.7212 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.4805, allocations: 282.7 kB / 0.7214 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.4811, allocations: 295.7 kB / 0.7217 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.4822, allocations: 1.363 MB / 0.7231 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004793/0.4826, allocations: 436.3 kB / 0.7235 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.4853, allocations: 1.486 MB / 0.7249 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.4856, allocations: 334.5 kB / 0.7252 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.4856, allocations: 24 kB / 0.7253 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.4858, allocations: 55.91 kB / 0.7253 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.486, allocations: 227.4 kB / 0.7255 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.4861, allocations: 125.4 kB / 0.7257 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.4864, allocations: 458.9 kB / 0.7261 GB, free: 13.53 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4865, allocations: 4 kB / 0.7261 GB, free: 13.53 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4865, allocations: 0 / 0.7261 GB, free: 13.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.4865, allocations: 4 kB / 0.7261 GB, free: 13.52 MB / 0.545 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.0007326/0.4872, allocations: 0.7179 MB / 0.7268 GB, free: 12.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.4873, allocations: 8.031 kB / 0.7268 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.179e-05/0.4873, allocations: 98.5 kB / 0.7269 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.729e-05/0.4874, allocations: 63.25 kB / 0.727 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.4879, allocations: 410.4 kB / 0.7274 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.4879, allocations: 45.27 kB / 0.7274 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.488, allocations: 51.98 kB / 0.7275 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000893/0.4889, allocations: 0.7028 MB / 0.7281 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4889, allocations: 3.938 kB / 0.7281 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.4889, allocations: 23.98 kB / 0.7282 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.489, allocations: 31.98 kB / 0.7282 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.4896, allocations: 383.7 kB / 0.7286 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.4916, allocations: 3.223 MB / 0.7317 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.4919, allocations: 226 kB / 0.7319 GB, free: 7.148 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.492, allocations: 136.5 kB / 0.7321 GB, free: 6.984 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.4921, allocations: 4 kB / 0.7321 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.4921, allocations: 50.5 kB / 0.7321 GB, free: 6.922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.4921, allocations: 0 / 0.7321 GB, free: 6.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006202/0.4927, allocations: 265.4 kB / 0.7324 GB, free: 6.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.4928, allocations: 295.1 kB / 0.7326 GB, free: 6.301 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000652/0.4935, allocations: 0.6721 MB / 0.7333 GB, free: 5.621 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.4935, allocations: 33.7 kB / 0.7333 GB, free: 5.582 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.4937, allocations: 276 kB / 0.7336 GB, free: 5.309 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.4937, allocations: 31.47 kB / 0.7336 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.4938, allocations: 4 kB / 0.7336 GB, free: 5.273 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4939, allocations: 370.8 kB / 0.734 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.549e-05/0.494, allocations: 43.91 kB / 0.734 GB, free: 4.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.4941, allocations: 97.09 kB / 0.7341 GB, free: 4.746 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.4942, allocations: 55.97 kB / 0.7342 GB, free: 4.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4943, allocations: 0 / 0.7342 GB, free: 4.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002921/0.4945, allocations: 196.8 kB / 0.7344 GB, free: 4.492 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4946, allocations: 11.98 kB / 0.7344 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4946, allocations: 336 / 0.7344 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.4946, allocations: 4 kB / 0.7344 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.4948, allocations: 56.09 kB / 0.7344 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4948, allocations: 9.234 kB / 0.7344 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.495, allocations: 63.27 kB / 0.7345 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.495, allocations: 8 kB / 0.7345 GB, free: 4.344 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.4952, allocations: 206.4 kB / 0.7347 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.4954, allocations: 63.23 kB / 0.7348 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.4955, allocations: 56.33 kB / 0.7348 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4955, allocations: 4 kB / 0.7348 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4955, allocations: 4 kB / 0.7348 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4955, allocations: 4 kB / 0.7348 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.4966, allocations: 1.3 MB / 0.7361 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4967, allocations: 4.281 kB / 0.7361 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.4968, allocations: 60.64 kB / 0.7362 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.4968, allocations: 4 kB / 0.7362 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.4969, allocations: 4 kB / 0.7362 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4969, allocations: 0 / 0.7362 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4969, allocations: 4 kB / 0.7362 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.4972, allocations: 350.3 kB / 0.7365 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4973, allocations: 144.4 kB / 0.7366 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.4974, allocations: 11.92 kB / 0.7367 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.4976, allocations: 23.98 kB / 0.7367 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.4976, allocations: 12.23 kB / 0.7367 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.4976, allocations: 4 kB / 0.7367 GB, free: 1.941 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004641/0.4981, allocations: 0.4912 MB / 0.7372 GB, free: 1.453 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4981, allocations: 3.938 kB / 0.7372 GB, free: 1.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003284/0.4984, allocations: 91.84 kB / 0.7373 GB, free: 1.359 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006642/0.4991, allocations: 0.9032 MB / 0.7381 GB, free: 416 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.4994, allocations: 115.8 kB / 0.7383 GB, free: 300 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4994, allocations: 0 / 0.7383 GB, free: 300 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.4995, allocations: 67.83 kB / 0.7383 GB, free: 232 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.5006, allocations: 274.9 kB / 0.7386 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.504, allocations: 3.097 MB / 0.7416 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.5044, allocations: 0.9052 MB / 0.7425 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002185/0.5046, allocations: 104.6 kB / 0.7426 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.5048, allocations: 171.4 kB / 0.7428 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5048, allocations: 0 / 0.7428 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.5261, allocations: 12.97 MB / 0.7554 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.5263, allocations: 225 kB / 0.7556 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.17, allocations: 3 kB / 0.7556 GB, free: 14.61 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) Environment - environmentSimulation: