Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001225/0.001225, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.009/3.009, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.95 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3585, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002713/0.3613, allocations: 1.44 MB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003781/0.3651, allocations: 2.898 MB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.3651, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.3653, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.3654, allocations: 47.8 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.366, allocations: 171.2 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.3663, allocations: 239.5 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.3663, allocations: 4 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3664, allocations: 103.8 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.3666, allocations: 131.8 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.3666, allocations: 12 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003559/0.367, allocations: 143.8 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.632e-05/0.3671, allocations: 83.81 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.3672, allocations: 95.58 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.3676, allocations: 275.5 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3676, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3676, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3676, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 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.0008856/0.3685, allocations: 0.5317 MB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3685, allocations: 8.031 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.3687, allocations: 20.75 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.369, allocations: 243.3 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.369, allocations: 32.36 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.3691, allocations: 16.38 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.3698, allocations: 283.1 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3698, allocations: 4 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.3698, allocations: 8 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.3698, allocations: 4 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.3713, allocations: 0.7491 MB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.3717, allocations: 309 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.3733, allocations: 0.6832 MB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.3738, allocations: 236.4 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004219/0.3743, allocations: 384.4 kB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.3743, allocations: 38.5 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.743e-06/0.3743, allocations: 0 / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001624/0.3759, allocations: 0.6537 MB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.376, allocations: 55.41 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3761, allocations: 126.1 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.3762, allocations: 33.64 kB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.3762, allocations: 92.8 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.3763, allocations: 130.1 kB / 1.078 GB, free: 280 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3765, allocations: 65.69 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3766, allocations: 326.8 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/0.3771, allocations: 191.8 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/0.3775, allocations: 204.8 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008684/0.3784, allocations: 364.8 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3784, allocations: 0 / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001059/0.3795, allocations: 472.3 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3795, allocations: 4 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3795, allocations: 4 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3796, allocations: 0 / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.3799, allocations: 95.86 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.38, allocations: 0 / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.3801, allocations: 51.7 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.3802, allocations: 15.98 kB / 1.079 GB, free: 14.49 MB / 0.8419 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.0001418/0.3803, allocations: 141.8 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.3804, allocations: 19.75 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.3816, allocations: 0.5102 MB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3816, allocations: 4 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3816, allocations: 8 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3816, allocations: 0 / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.3819, allocations: 321.2 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.382, allocations: 0 / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.3823, allocations: 99.78 kB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3823, allocations: 0 / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.3823, allocations: 15.92 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3823, allocations: 4 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3823, allocations: 4 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3834, allocations: 0.4925 MB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.3835, allocations: 104.8 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.3835, allocations: 8 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.3837, allocations: 35.95 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.3839, allocations: 115.8 kB / 1.081 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.384, allocations: 15.98 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.105e-05/0.384, allocations: 102.6 kB / 1.081 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3841, allocations: 0 / 1.081 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003881/0.3844, allocations: 123.9 kB / 1.081 GB, free: 12.29 MB / 0.8419 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.000357/0.3848, allocations: 179.1 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.386, allocations: 0.55 MB / 1.082 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.386, allocations: 8 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005479/0.3866, allocations: 263.4 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.387, allocations: 75.86 kB / 1.082 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007752/0.3878, allocations: 486.6 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.3882, allocations: 0.7328 MB / 1.084 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004498/0.3886, allocations: 180.8 kB / 1.084 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.3887, allocations: 39.41 kB / 1.084 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of SimCode: time 4.268e-06/0.3887, allocations: 4 kB / 1.084 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of Templates: time 0.009707/0.3985, allocations: 5.062 MB / 1.089 GB, free: 4.754 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)