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.001095/0.001095, allocations: 98.81 kB / 16.02 MB, free: 80 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.001232/0.001232, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.343/1.343, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6778/0.6778, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003277, allocations: 8 kB / 495.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1534, allocations: 77.53 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.4895/0.6429, allocations: 171.4 MB / 0.7275 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.6531, allocations: 8.583 MB / 0.7358 GB, free: 2.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006728/0.6538, allocations: 23.75 kB / 0.7359 GB, free: 2.695 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007644/0.6546, allocations: 242.4 kB / 0.7361 GB, free: 2.457 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008977/0.6555, allocations: 290.6 kB / 0.7364 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.6565, allocations: 334.3 kB / 0.7367 GB, free: 1.848 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.6583, allocations: 1.616 MB / 0.7383 GB, free: 232 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008287/0.6591, allocations: 0.4949 MB / 0.7388 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004582/0.6637, allocations: 1.899 MB / 0.7406 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006338/0.6644, allocations: 350.4 kB / 0.7409 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.6645, allocations: 20 kB / 0.741 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.6648, allocations: 59.91 kB / 0.741 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.6651, allocations: 247.3 kB / 0.7413 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.6655, allocations: 276.2 kB / 0.7415 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007037/0.6662, allocations: 0.5838 MB / 0.7421 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.6663, allocations: 0 / 0.7421 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6663, allocations: 0 / 0.7421 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.827e-05/0.6663, allocations: 3.938 kB / 0.7421 GB, free: 12.3 MB / 0.5606 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.001027/0.6673, allocations: 0.7218 MB / 0.7428 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.6674, allocations: 8.031 kB / 0.7428 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/0.6675, allocations: 94.52 kB / 0.7429 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.6676, allocations: 75.09 kB / 0.743 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/0.6682, allocations: 414.2 kB / 0.7434 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.6682, allocations: 41.3 kB / 0.7434 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.6683, allocations: 48 kB / 0.7434 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.6694, allocations: 0.7105 MB / 0.7441 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.6695, allocations: 4 kB / 0.7441 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.6695, allocations: 23.92 kB / 0.7442 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-05/0.6696, allocations: 35.92 kB / 0.7442 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007145/0.6703, allocations: 383.4 kB / 0.7446 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.6729, allocations: 3.235 MB / 0.7477 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.6732, allocations: 218.1 kB / 0.7479 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.6734, allocations: 136.5 kB / 0.7481 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.6735, allocations: 4 kB / 0.7481 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.6735, allocations: 46.5 kB / 0.7481 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.6735, allocations: 0 / 0.7481 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.000734/0.6742, allocations: 265.5 kB / 0.7484 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.6744, allocations: 303.1 kB / 0.7487 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/0.6751, allocations: 0.676 MB / 0.7493 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.6752, allocations: 33.7 kB / 0.7493 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.6754, allocations: 264.2 kB / 0.7496 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.6754, allocations: 35.45 kB / 0.7496 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.6755, allocations: 17.72 kB / 0.7496 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6756, allocations: 370.8 kB / 0.75 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.6758, allocations: 43.97 kB / 0.75 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.6759, allocations: 97.09 kB / 0.7501 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.6762, allocations: 141 kB / 0.7503 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6762, allocations: 4 kB / 0.7503 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003803/0.6766, allocations: 197 kB / 0.7505 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.6766, allocations: 7.938 kB / 0.7505 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6767, allocations: 4 kB / 0.7505 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.6767, allocations: 336 / 0.7505 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.6769, allocations: 51.95 kB / 0.7505 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.6769, allocations: 8.219 kB / 0.7505 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.6772, allocations: 71.14 kB / 0.7506 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.6772, allocations: 7.938 kB / 0.7506 GB, free: 2.961 MB / 0.5606 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.0002076/0.6774, allocations: 201.8 kB / 0.7508 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.6777, allocations: 63.28 kB / 0.7509 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.819e-05/0.6778, allocations: 64.31 kB / 0.7509 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.6778, allocations: 4 kB / 0.7509 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.6778, allocations: 4 kB / 0.7509 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.6778, allocations: 0 / 0.7509 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.6791, allocations: 1.308 MB / 0.7522 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6791, allocations: 0 / 0.7522 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.6794, allocations: 60.3 kB / 0.7523 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.6794, allocations: 4 kB / 0.7523 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.6794, allocations: 4 kB / 0.7523 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.6794, allocations: 4 kB / 0.7523 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6794, allocations: 7.938 kB / 0.7523 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.6798, allocations: 350.3 kB / 0.7526 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.68, allocations: 144.4 kB / 0.7528 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.6801, allocations: 8 kB / 0.7528 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.6803, allocations: 15.98 kB / 0.7528 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.6803, allocations: 19.86 kB / 0.7528 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.6804, allocations: 15.98 kB / 0.7528 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005284/0.6809, allocations: 499 kB / 0.7533 GB, free: 44 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6809, allocations: 0 / 0.7533 GB, free: 44 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004019/0.6813, allocations: 87.89 kB / 0.7534 GB, free: 15.95 MB / 0.5762 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.0008375/0.6822, allocations: 0.9147 MB / 0.7543 GB, free: 15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003116/0.6825, allocations: 111.9 kB / 0.7544 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6825, allocations: 0 / 0.7544 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.6827, allocations: 64.66 kB / 0.7544 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.6842, allocations: 270.1 kB / 0.7547 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005678/0.6899, allocations: 4.727 MB / 0.7593 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.6904, allocations: 0.9013 MB / 0.7602 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000278/0.6907, allocations: 104.6 kB / 0.7603 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.6909, allocations: 171.4 kB / 0.7604 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.6909, allocations: 4 kB / 0.7605 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.7171, allocations: 12.81 MB / 0.773 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.7173, allocations: 233.4 kB / 0.7732 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.652, allocations: 0 / 0.7732 GB, free: 11.68 MB / 0.5919 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/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)