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.001255/0.001255, allocations: 107.3 kB / 16.36 MB, free: 5.824 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.001177/0.001177, allocations: 188 kB / 17.29 MB, free: 5.48 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.271/1.271, 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.002051/0.002051, allocations: 295.5 kB / 291.4 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.9027/0.9027, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 89.89 kB / 0.5966 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1469, allocations: 86.99 MB / 0.6816 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002274/0.1492, allocations: 1.379 MB / 0.6829 GB, free: 6.039 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.1525, allocations: 2.906 MB / 0.6858 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.1525, allocations: 0 / 0.6858 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.775e-05/0.1526, allocations: 7.922 kB / 0.6858 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.1527, allocations: 35.81 kB / 0.6858 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.1533, allocations: 187.2 kB / 0.686 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.1535, allocations: 243.5 kB / 0.6862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.1536, allocations: 7.938 kB / 0.6862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/0.1537, allocations: 95.89 kB / 0.6863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.1538, allocations: 127.7 kB / 0.6865 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.1538, allocations: 8 kB / 0.6865 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.1542, allocations: 135.9 kB / 0.6866 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1543, allocations: 87.81 kB / 0.6867 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.666e-05/0.1544, allocations: 87.59 kB / 0.6868 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.1547, allocations: 279.3 kB / 0.687 GB, free: 1.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1547, allocations: 0 / 0.687 GB, free: 1.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1547, allocations: 0 / 0.687 GB, free: 1.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1547, allocations: 0 / 0.687 GB, free: 1.84 MB / 494.1 MB 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.0007405/0.1555, allocations: 0.5453 MB / 0.6876 GB, free: 1.246 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.1555, allocations: 8.031 kB / 0.6876 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1556, allocations: 16.75 kB / 0.6876 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.1559, allocations: 240 kB / 0.6878 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.156, allocations: 24.36 kB / 0.6878 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.156, allocations: 16.38 kB / 0.6878 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.1566, allocations: 290.5 kB / 0.6881 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1566, allocations: 0 / 0.6881 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.1566, allocations: 7.984 kB / 0.6881 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1566, allocations: 4 kB / 0.6881 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.259/0.4157, allocations: 0.7525 MB / 0.6889 GB, free: 18.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.4161, allocations: 300.8 kB / 0.6892 GB, free: 18.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.4176, allocations: 0.6721 MB / 0.6898 GB, free: 18.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.4181, allocations: 230.1 kB / 0.69 GB, free: 18.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/0.4184, allocations: 388.3 kB / 0.6904 GB, free: 18.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.4184, allocations: 38.88 kB / 0.6904 GB, free: 17.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.853e-06/0.4185, allocations: 0.9375 kB / 0.6904 GB, free: 17.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001473/0.4199, allocations: 0.6509 MB / 0.6911 GB, free: 17.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.42, allocations: 60.19 kB / 0.6911 GB, free: 17.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.255e-05/0.42, allocations: 127.3 kB / 0.6913 GB, free: 17.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.4201, allocations: 30.67 kB / 0.6913 GB, free: 17.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.375e-05/0.4201, allocations: 94.31 kB / 0.6914 GB, free: 17.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.4202, allocations: 124.4 kB / 0.6915 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.4203, allocations: 64.02 kB / 0.6916 GB, free: 17.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.458e-05/0.4203, allocations: 331.4 kB / 0.6919 GB, free: 17.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.4208, allocations: 191.4 kB / 0.6921 GB, free: 17.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.4212, allocations: 205.6 kB / 0.6923 GB, free: 17.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008069/0.422, allocations: 372.6 kB / 0.6926 GB, free: 17.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4221, allocations: 0 / 0.6926 GB, free: 17.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009811/0.423, allocations: 457.8 kB / 0.693 GB, free: 17.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4231, allocations: 6.938 kB / 0.693 GB, free: 17.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.4231, allocations: 0.5156 kB / 0.693 GB, free: 17.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4231, allocations: 9.125 kB / 0.6931 GB, free: 17.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.4234, allocations: 100.5 kB / 0.6932 GB, free: 17.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4234, allocations: 1.156 kB / 0.6932 GB, free: 17.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.4236, allocations: 52.81 kB / 0.6932 GB, free: 17.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.4236, allocations: 11.41 kB / 0.6932 GB, free: 17.05 MB / 494.1 MB 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 8.959e-05/0.4237, allocations: 146.2 kB / 0.6934 GB, free: 16.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.4238, allocations: 16.94 kB / 0.6934 GB, free: 16.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.4249, allocations: 0.5172 MB / 0.6939 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4249, allocations: 7.953 kB / 0.6939 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4249, allocations: 0.7188 kB / 0.6939 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4249, allocations: 2.203 kB / 0.6939 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.4252, allocations: 307.4 kB / 0.6942 GB, free: 16.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4252, allocations: 0 / 0.6942 GB, free: 16.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.4255, allocations: 100.3 kB / 0.6943 GB, free: 16.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4255, allocations: 1.812 kB / 0.6943 GB, free: 16.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.4255, allocations: 10.61 kB / 0.6943 GB, free: 16.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4255, allocations: 10.02 kB / 0.6943 GB, free: 16.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4255, allocations: 2.562 kB / 0.6943 GB, free: 16.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009857/0.4265, allocations: 0.4896 MB / 0.6948 GB, free: 16.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.4266, allocations: 99.77 kB / 0.6949 GB, free: 16.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.4266, allocations: 6.078 kB / 0.6949 GB, free: 16.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.4268, allocations: 38.11 kB / 0.6949 GB, free: 16.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.427, allocations: 121 kB / 0.695 GB, free: 16.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.427, allocations: 11.73 kB / 0.695 GB, free: 16.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.178e-05/0.4271, allocations: 102.2 kB / 0.6951 GB, free: 16.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4271, allocations: 2.062 kB / 0.6951 GB, free: 16.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.4274, allocations: 118.7 kB / 0.6953 GB, free: 16.17 MB / 494.1 MB 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.0002635/0.4277, allocations: 189.8 kB / 0.6954 GB, free: 16.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009927/0.4287, allocations: 475.2 kB / 0.6959 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4287, allocations: 1.125 kB / 0.6959 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.4292, allocations: 263 kB / 0.6961 GB, free: 15.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.4296, allocations: 78.62 kB / 0.6962 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.4302, allocations: 423.3 kB / 0.6966 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.4304, allocations: 0.7304 MB / 0.6973 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003791/0.4307, allocations: 185.5 kB / 0.6975 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.4308, allocations: 45.34 kB / 0.6976 GB, free: 15 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4309, allocations: 0 / 0.6976 GB, free: 15 MB / 494.1 MB Notification: Performance of Templates: time 0.00904/0.4399, allocations: 5.28 MB / 0.7027 GB, free: 14.61 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)