Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 107.9 kB / 16.41 MB, free: 6.5 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.001113/0.001113, allocations: 188.1 kB / 17.34 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 282.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8849/0.8849, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3771, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00215/0.3793, allocations: 1.382 MB / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003075/0.3824, allocations: 2.903 MB / 0.7712 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.3824, allocations: 7.938 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.248e-05/0.3825, allocations: 7.922 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.3827, allocations: 43.81 kB / 0.7713 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.3832, allocations: 183.1 kB / 0.7715 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000228/0.3834, allocations: 239.5 kB / 0.7717 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.3834, allocations: 11.64 kB / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.3835, allocations: 91.86 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.3837, allocations: 123.7 kB / 0.7719 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.3837, allocations: 12 kB / 0.7719 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.384, allocations: 139.8 kB / 0.772 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.25e-05/0.3841, allocations: 87.77 kB / 0.7721 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.929e-05/0.3842, allocations: 91.62 kB / 0.7722 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.3846, allocations: 269.8 kB / 0.7725 GB, free: 14.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3846, allocations: 0 / 0.7725 GB, free: 14.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3846, allocations: 0 / 0.7725 GB, free: 14.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.3846, allocations: 0 / 0.7725 GB, free: 14.34 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007497/0.3853, allocations: 0.5339 MB / 0.773 GB, free: 13.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.3854, allocations: 8.031 kB / 0.773 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.3855, allocations: 20.75 kB / 0.773 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.3857, allocations: 236 kB / 0.7732 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.3858, allocations: 28.3 kB / 0.7733 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.3858, allocations: 20.38 kB / 0.7733 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.3864, allocations: 298.2 kB / 0.7736 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3864, allocations: 4 kB / 0.7736 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.3864, allocations: 4 kB / 0.7736 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3864, allocations: 4 kB / 0.7736 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.3877, allocations: 0.7452 MB / 0.7743 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.3881, allocations: 309.2 kB / 0.7746 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.3896, allocations: 0.668 MB / 0.7753 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.3901, allocations: 237.2 kB / 0.7755 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003549/0.3905, allocations: 392.1 kB / 0.7759 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3905, allocations: 42.5 kB / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/0.3905, allocations: 0 / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.0015/0.392, allocations: 0.65 MB / 0.7765 GB, free: 9.934 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.3921, allocations: 59.16 kB / 0.7766 GB, free: 9.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.3922, allocations: 128.1 kB / 0.7767 GB, free: 9.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.3922, allocations: 29.7 kB / 0.7767 GB, free: 9.695 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.3922, allocations: 96.78 kB / 0.7768 GB, free: 9.598 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.199e-05/0.3923, allocations: 118.2 kB / 0.777 GB, free: 9.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/0.3924, allocations: 77.61 kB / 0.777 GB, free: 9.398 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3925, allocations: 326.8 kB / 0.7773 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/0.393, allocations: 195.7 kB / 0.7775 GB, free: 8.879 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/0.3934, allocations: 199.9 kB / 0.7777 GB, free: 8.684 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.3943, allocations: 360.3 kB / 0.7781 GB, free: 8.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3943, allocations: 0 / 0.7781 GB, free: 8.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00101/0.3953, allocations: 469.2 kB / 0.7785 GB, free: 7.863 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3953, allocations: 4 kB / 0.7785 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3953, allocations: 4 kB / 0.7785 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3954, allocations: 0 / 0.7785 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.3957, allocations: 99.84 kB / 0.7786 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3957, allocations: 0 / 0.7786 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.3959, allocations: 51.73 kB / 0.7787 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.3959, allocations: 12 kB / 0.7787 GB, free: 7.695 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0001181/0.3961, allocations: 141.8 kB / 0.7788 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.3961, allocations: 19.75 kB / 0.7788 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.3972, allocations: 0.5159 MB / 0.7793 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3973, allocations: 7.938 kB / 0.7793 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3973, allocations: 8 kB / 0.7793 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3973, allocations: 3.984 kB / 0.7793 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.3976, allocations: 313.3 kB / 0.7796 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3976, allocations: 0 / 0.7796 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.3979, allocations: 95.8 kB / 0.7797 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3979, allocations: 0 / 0.7797 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.398, allocations: 11.98 kB / 0.7797 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.398, allocations: 4 kB / 0.7798 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.398, allocations: 4 kB / 0.7798 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.399, allocations: 0.4965 MB / 0.7802 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.3991, allocations: 104.7 kB / 0.7803 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.3991, allocations: 4 kB / 0.7803 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.3993, allocations: 35.95 kB / 0.7804 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.3995, allocations: 119.7 kB / 0.7805 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.3995, allocations: 15.98 kB / 0.7805 GB, free: 5.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.231e-05/0.3996, allocations: 102.6 kB / 0.7806 GB, free: 5.613 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3996, allocations: 0 / 0.7806 GB, free: 5.613 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000352/0.3999, allocations: 115.9 kB / 0.7807 GB, free: 5.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0002967/0.4003, allocations: 183.1 kB / 0.7809 GB, free: 5.312 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.4013, allocations: 471.3 kB / 0.7813 GB, free: 4.852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4013, allocations: 4 kB / 0.7813 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005121/0.4018, allocations: 264.6 kB / 0.7816 GB, free: 4.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.4022, allocations: 80.98 kB / 0.7817 GB, free: 4.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007/0.4029, allocations: 464.1 kB / 0.7821 GB, free: 4.023 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.4032, allocations: 0.7328 MB / 0.7828 GB, free: 3.262 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.4033, allocations: 51.39 kB / 0.7829 GB, free: 3.215 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4033, allocations: 4 kB / 0.7829 GB, free: 3.211 MB / 0.545 GB Notification: Performance of Templates: time 0.006164/0.4095, allocations: 4.758 MB / 0.7875 GB, free: 14.53 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)