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.00129/0.00129, allocations: 110.2 kB / 16.4 MB, free: 6.367 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.001235/0.001235, allocations: 202.2 kB / 17.34 MB, free: 5.844 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.819/0.819, allocations: 126.7 MB / 417.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.2 kB / 0.5735 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1276, allocations: 78.86 MB / 0.6505 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.4556/0.5832, allocations: 176 MB / 0.8224 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009647/0.5929, allocations: 8.704 MB / 0.8309 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.5934, allocations: 24.16 kB / 0.8309 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006802/0.5941, allocations: 304.9 kB / 0.8312 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.5947, allocations: 295.1 kB / 0.8315 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008647/0.5956, allocations: 378.7 kB / 0.8319 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.5966, allocations: 1.136 MB / 0.833 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007292/0.5974, allocations: 0.5955 MB / 0.8336 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.6015, allocations: 2.053 MB / 0.8356 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.6018, allocations: 341.7 kB / 0.8359 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/0.6019, allocations: 37.81 kB / 0.8359 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.6021, allocations: 83.83 kB / 0.836 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.6024, allocations: 257 kB / 0.8363 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.6026, allocations: 285.4 kB / 0.8365 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006404/0.6033, allocations: 0.6307 MB / 0.8372 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.6033, allocations: 0 / 0.8372 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6033, allocations: 0 / 0.8372 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.6033, allocations: 2.219 kB / 0.8372 GB, free: 14.98 MB / 0.6075 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.001001/0.6043, allocations: 0.8479 MB / 0.838 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.6044, allocations: 9.594 kB / 0.838 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.6045, allocations: 98.44 kB / 0.8381 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.212e-05/0.6046, allocations: 68.61 kB / 0.8382 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.6052, allocations: 450.2 kB / 0.8386 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.6052, allocations: 43.98 kB / 0.8386 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.984e-05/0.6053, allocations: 51.22 kB / 0.8387 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/0.6063, allocations: 0.7136 MB / 0.8394 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.6063, allocations: 10.62 kB / 0.8394 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/0.6064, allocations: 21 kB / 0.8394 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.6064, allocations: 30.3 kB / 0.8394 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006293/0.6071, allocations: 377.2 kB / 0.8398 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.6097, allocations: 3.22 MB / 0.8429 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.61, allocations: 215.3 kB / 0.8431 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.6102, allocations: 127.4 kB / 0.8433 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.6102, allocations: 10.47 kB / 0.8433 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.6103, allocations: 47.88 kB / 0.8433 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.6103, allocations: 0 / 0.8433 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006694/0.6109, allocations: 244.6 kB / 0.8435 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.6111, allocations: 299.4 kB / 0.8438 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007127/0.6118, allocations: 0.687 MB / 0.8445 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.6119, allocations: 25.7 kB / 0.8445 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.6121, allocations: 268.6 kB / 0.8448 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.6121, allocations: 37.22 kB / 0.8448 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.6122, allocations: 30.03 kB / 0.8448 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.6124, allocations: 373.7 kB / 0.8452 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.6125, allocations: 36.28 kB / 0.8452 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.6127, allocations: 94.97 kB / 0.8453 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.6129, allocations: 131 kB / 0.8455 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6129, allocations: 336 / 0.8455 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003488/0.6133, allocations: 198.6 kB / 0.8456 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.6133, allocations: 4.906 kB / 0.8456 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.6133, allocations: 3.938 kB / 0.8457 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.6133, allocations: 2.406 kB / 0.8457 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.6136, allocations: 40.73 kB / 0.8457 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6136, allocations: 2.344 kB / 0.8457 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.6138, allocations: 61.56 kB / 0.8458 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.6138, allocations: 8.969 kB / 0.8458 GB, free: 7.629 MB / 0.6075 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.0002084/0.614, allocations: 203 kB / 0.846 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.6142, allocations: 63.06 kB / 0.846 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.477e-05/0.6143, allocations: 57.83 kB / 0.8461 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.6143, allocations: 1.938 kB / 0.8461 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6144, allocations: 6.594 kB / 0.8461 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6144, allocations: 0 / 0.8461 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.6158, allocations: 1.316 MB / 0.8474 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6158, allocations: 2.719 kB / 0.8474 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.616, allocations: 43.17 kB / 0.8474 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.616, allocations: 2.125 kB / 0.8474 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.616, allocations: 3.156 kB / 0.8474 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.616, allocations: 3.375 kB / 0.8474 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.616, allocations: 12.66 kB / 0.8474 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.6164, allocations: 341.5 kB / 0.8478 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.6166, allocations: 147.6 kB / 0.8479 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.6167, allocations: 12.83 kB / 0.8479 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.6169, allocations: 4.875 kB / 0.8479 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.6169, allocations: 21.17 kB / 0.8479 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.6169, allocations: 12.97 kB / 0.8479 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005166/0.6174, allocations: 0.4918 MB / 0.8484 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6175, allocations: 0 / 0.8484 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003524/0.6178, allocations: 80.72 kB / 0.8485 GB, free: 5.391 MB / 0.6075 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.0008979/0.6187, allocations: 0.9157 MB / 0.8494 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002972/0.619, allocations: 109.8 kB / 0.8495 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.619, allocations: 3.125 kB / 0.8495 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.6192, allocations: 68.14 kB / 0.8496 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.6205, allocations: 284.5 kB / 0.8498 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004977/0.6254, allocations: 4.456 MB / 0.8542 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/0.626, allocations: 0.8992 MB / 0.8551 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000212/0.6262, allocations: 101.7 kB / 0.8552 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.6264, allocations: 175.1 kB / 0.8553 GB, free: 456 kB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.6264, allocations: 0 / 0.8553 GB, free: 456 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.6638, allocations: 13.59 MB / 0.8686 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.468/9.132, allocations: 8.578 kB / 0.8686 GB, free: 3.16 MB / 0.6231 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)