Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.00142/0.00142, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.277/1.277, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 287.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9284/0.9284, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3894, allocations: 86.97 MB / 0.767 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.1746/0.5641, allocations: 176 MB / 0.9389 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.5751, allocations: 8.72 MB / 0.9474 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007439/0.5759, allocations: 19.88 kB / 0.9474 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008866/0.5768, allocations: 293.8 kB / 0.9477 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008903/0.5777, allocations: 302.4 kB / 0.948 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.5788, allocations: 386.7 kB / 0.9484 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.5802, allocations: 1.144 MB / 0.9495 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009316/0.5812, allocations: 0.5944 MB / 0.9501 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004444/0.5856, allocations: 2.062 MB / 0.9521 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005286/0.5862, allocations: 346.5 kB / 0.9524 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.801e-05/0.5863, allocations: 40 kB / 0.9525 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.5865, allocations: 83.89 kB / 0.9525 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.5868, allocations: 255.3 kB / 0.9528 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.5871, allocations: 286.5 kB / 0.9531 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007741/0.5879, allocations: 0.65 MB / 0.9537 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5879, allocations: 0 / 0.9537 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5879, allocations: 0 / 0.9537 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.588, allocations: 4 kB / 0.9537 GB, free: 4.031 MB / 0.7169 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.00112/0.5891, allocations: 0.8184 MB / 0.9545 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5891, allocations: 12.03 kB / 0.9545 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.5893, allocations: 71.09 kB / 0.9546 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006488/0.5899, allocations: 446.1 kB / 0.955 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.59, allocations: 41.3 kB / 0.955 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.59, allocations: 55.94 kB / 0.9551 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.5911, allocations: 0.7012 MB / 0.9558 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.5911, allocations: 8 kB / 0.9558 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.5912, allocations: 19.98 kB / 0.9558 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/0.5912, allocations: 39.86 kB / 0.9558 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006638/0.5919, allocations: 375.4 kB / 0.9562 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3247/0.9166, allocations: 3.213 MB / 0.9593 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.9169, allocations: 213.7 kB / 0.9595 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.9171, allocations: 132.6 kB / 0.9597 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.9171, allocations: 2.781 kB / 0.9597 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.9172, allocations: 53.58 kB / 0.9597 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/0.9172, allocations: 0 / 0.9597 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0007701/0.9179, allocations: 242.4 kB / 0.96 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.918, allocations: 297.1 kB / 0.9602 GB, free: 190 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009161/0.9189, allocations: 0.6841 MB / 0.9609 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.919, allocations: 27.2 kB / 0.9609 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.9191, allocations: 273.5 kB / 0.9612 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.9192, allocations: 34.83 kB / 0.9612 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.9192, allocations: 27.77 kB / 0.9612 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.9194, allocations: 368.3 kB / 0.9616 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.9195, allocations: 37.5 kB / 0.9616 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.9197, allocations: 99.14 kB / 0.9617 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.92, allocations: 130.1 kB / 0.9619 GB, free: 189 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.92, allocations: 0.5938 kB / 0.9619 GB, free: 189 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004038/0.9204, allocations: 189.8 kB / 0.962 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9204, allocations: 10.42 kB / 0.962 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.9204, allocations: 4.5 kB / 0.962 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.9204, allocations: 2.594 kB / 0.9621 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.9207, allocations: 38.23 kB / 0.9621 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.9207, allocations: 2.625 kB / 0.9621 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.9209, allocations: 55.88 kB / 0.9621 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.921, allocations: 12.02 kB / 0.9622 GB, free: 188.8 MB / 0.7169 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.0001934/0.9212, allocations: 199.9 kB / 0.9623 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.9214, allocations: 64.69 kB / 0.9624 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.37e-05/0.9215, allocations: 61.92 kB / 0.9625 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.9215, allocations: 4.266 kB / 0.9625 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.9215, allocations: 5.203 kB / 0.9625 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.9216, allocations: 153 kB / 0.9626 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.9217, allocations: 3.531 kB / 0.9626 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.9222, allocations: 13.23 kB / 0.9626 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.9222, allocations: 18.62 kB / 0.9627 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004968/0.9227, allocations: 0.9272 MB / 0.9636 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003908/0.9231, allocations: 1.02 MB / 0.9646 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001378/0.9233, allocations: 61.91 kB / 0.9646 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005082/0.9238, allocations: 0.4896 MB / 0.9651 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of Backend: time 5.61e-07/0.9238, allocations: 3.438 kB / 0.9651 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.9252, allocations: 167.3 kB / 0.9653 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of SimCode: time 0.002021/0.9272, allocations: 1.523 MB / 0.9667 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.01268/0.9399, allocations: 8.611 MB / 0.9752 GB, free: 180.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)