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.001356/0.001356, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00128/0.001281, allocations: 195.4 kB / 16.14 MB, free: 6.695 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 56.75 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3686, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002967/0.3716, allocations: 1.44 MB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004261/0.3759, allocations: 2.925 MB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.3759, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.3761, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.3762, allocations: 43.8 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.3768, allocations: 163.3 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.3771, allocations: 335.4 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.3772, allocations: 4 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.888e-05/0.3773, allocations: 91.8 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.3774, allocations: 135.7 kB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.3775, allocations: 12 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.3779, allocations: 155.7 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.378, allocations: 79.83 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.3781, allocations: 95.56 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.3785, allocations: 275.5 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3785, allocations: 0 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3785, allocations: 0 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.3785, allocations: 0 / 1.073 GB, free: 5.168 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.0008585/0.3794, allocations: 0.5316 MB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3794, allocations: 8.031 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.3796, allocations: 16.75 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.3799, allocations: 247.1 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.3799, allocations: 24.36 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.38, allocations: 12.38 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.3806, allocations: 295.1 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3807, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.3807, allocations: 8 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3807, allocations: 0 / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.3823, allocations: 0.7491 MB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.3827, allocations: 309 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.3843, allocations: 0.6793 MB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004922/0.3848, allocations: 236.4 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004419/0.3853, allocations: 392.3 kB / 1.076 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3853, allocations: 42.5 kB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.3853, allocations: 0 / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001558/0.3869, allocations: 0.6459 MB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.3869, allocations: 67.33 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.387, allocations: 118.1 kB / 1.077 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.3871, allocations: 33.7 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.3871, allocations: 92.78 kB / 1.077 GB, free: 432 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.3872, allocations: 126.1 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-05/0.3873, allocations: 65.67 kB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3875, allocations: 326.8 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.388, allocations: 199.8 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.3884, allocations: 196.8 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008282/0.3893, allocations: 364.9 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3893, allocations: 4 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00102/0.3903, allocations: 468.3 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3903, allocations: 4 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3903, allocations: 3.938 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3904, allocations: 4 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.3907, allocations: 99.84 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3907, allocations: 0 / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.3909, allocations: 55.7 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.391, allocations: 12 kB / 1.079 GB, free: 14.51 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.0001263/0.3911, allocations: 137.8 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.3911, allocations: 19.75 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.3923, allocations: 0.5064 MB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3923, allocations: 4 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3923, allocations: 4 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3923, allocations: 3.984 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.3926, allocations: 313.2 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3926, allocations: 4 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.393, allocations: 103.8 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.393, allocations: 0 / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.393, allocations: 15.92 kB / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.393, allocations: 0 / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.393, allocations: 0 / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009991/0.394, allocations: 0.4964 MB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.3941, allocations: 96.8 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.3941, allocations: 12 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.3943, allocations: 39.95 kB / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.3945, allocations: 119.8 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.3946, allocations: 15.98 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.217e-05/0.3946, allocations: 98.64 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3946, allocations: 0 / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003912/0.395, allocations: 115.9 kB / 1.081 GB, free: 12.33 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.0003596/0.3954, allocations: 195 kB / 1.082 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009987/0.3964, allocations: 467.3 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3964, allocations: 0 / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.3969, allocations: 263.4 kB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.3973, allocations: 75.88 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007523/0.3981, allocations: 496.1 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.3984, allocations: 0.7331 MB / 1.083 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004137/0.3988, allocations: 183.4 kB / 1.084 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.838e-05/0.3989, allocations: 35.41 kB / 1.084 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3989, allocations: 4 kB / 1.084 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of Templates: time 0.008886/0.4078, allocations: 4.87 MB / 1.088 GB, free: 5.051 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)