Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001097/0.001097, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 472.6 MB / 0.7451 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 61.45 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3357, allocations: 159.9 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002649/0.3385, allocations: 1.37 MB / 1.07 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003524/0.342, allocations: 2.923 MB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.3421, allocations: 4 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.923e-05/0.3422, allocations: 7.922 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.3423, allocations: 35.81 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006473/0.343, allocations: 183.1 kB / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.3433, allocations: 243.5 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.3433, allocations: 8 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.3434, allocations: 95.84 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.3436, allocations: 123.7 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.3436, allocations: 12 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.344, allocations: 131.9 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.3441, allocations: 91.81 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.3443, allocations: 91.56 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.3446, allocations: 267.6 kB / 1.074 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.3446, allocations: 0 / 1.074 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.157e-06/0.3447, allocations: 0 / 1.074 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3447, allocations: 3.938 kB / 1.074 GB, free: 4.91 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.0009185/0.3456, allocations: 0.5378 MB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3457, allocations: 8.031 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.3458, allocations: 16.75 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.3461, allocations: 240 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.3461, allocations: 24.36 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.3462, allocations: 20.38 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.3469, allocations: 291.1 kB / 1.075 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3469, allocations: 7.922 kB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.3469, allocations: 4 kB / 1.075 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3469, allocations: 4 kB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.3485, allocations: 0.7491 MB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.3489, allocations: 313.1 kB / 1.076 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.3506, allocations: 0.6676 MB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005206/0.3511, allocations: 236.4 kB / 1.077 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004028/0.3516, allocations: 388.3 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.3516, allocations: 46.48 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.754e-06/0.3516, allocations: 0 / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001641/0.3533, allocations: 0.6459 MB / 1.078 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3533, allocations: 59.34 kB / 1.078 GB, free: 436 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3534, allocations: 126.1 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.3535, allocations: 33.7 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.3535, allocations: 84.8 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.3536, allocations: 134 kB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3538, allocations: 69.73 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3539, allocations: 330.8 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.3544, allocations: 187.8 kB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004857/0.3549, allocations: 208.7 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009057/0.3558, allocations: 360.9 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3558, allocations: 0 / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001077/0.3569, allocations: 472.3 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3569, allocations: 4 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.357, allocations: 0 / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.357, allocations: 0 / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.3574, allocations: 99.84 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.3574, allocations: 8 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.3576, allocations: 39.81 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.3576, allocations: 11.98 kB / 1.08 GB, free: 14.25 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.0001317/0.3577, allocations: 146.3 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.3578, allocations: 19.75 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.3591, allocations: 0.5174 MB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3591, allocations: 4 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3591, allocations: 4 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3591, allocations: 0 / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.3595, allocations: 317.2 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3595, allocations: 0 / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.3598, allocations: 103.8 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.3598, allocations: 4 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.3599, allocations: 15.92 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3599, allocations: 4 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.3599, allocations: 3.984 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.361, allocations: 0.4965 MB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.3611, allocations: 96.8 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.3611, allocations: 8 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.3613, allocations: 35.95 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/0.3615, allocations: 115.7 kB / 1.082 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.3616, allocations: 19.92 kB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.148e-05/0.3616, allocations: 103.3 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3616, allocations: 0 / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003883/0.362, allocations: 115.9 kB / 1.082 GB, free: 12.05 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.0003678/0.3624, allocations: 183.1 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.3636, allocations: 0.5539 MB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3637, allocations: 0 / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.3642, allocations: 267.4 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.3646, allocations: 75.92 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.3654, allocations: 419.1 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.3657, allocations: 0.7328 MB / 1.084 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004214/0.3661, allocations: 183.7 kB / 1.084 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.3662, allocations: 43.41 kB / 1.084 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3662, allocations: 0 / 1.084 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of Templates: time 0.009314/0.3755, allocations: 5.271 MB / 1.089 GB, free: 4.359 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_1.6_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_1.6_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_1.6_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_1.6_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)