Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000777/0.000777, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008323/0.0008324, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003754, allocations: 8 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7579/0.7583, allocations: 142.3 MB / 0.9538 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001507/0.7599, allocations: 1.097 MB / 0.9549 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003231/0.7632, allocations: 2.735 MB / 0.9576 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.7632, allocations: 5.406 kB / 0.9576 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.592e-05/0.7633, allocations: 7.922 kB / 0.9576 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.7634, allocations: 42.06 kB / 0.9576 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.7639, allocations: 151.8 kB / 0.9578 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.7642, allocations: 275.1 kB / 0.958 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.7643, allocations: 3.875 kB / 0.958 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-05/0.7644, allocations: 97.84 kB / 0.9581 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.7645, allocations: 142.2 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.7646, allocations: 10.31 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.765, allocations: 156 kB / 0.9584 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.736e-05/0.7651, allocations: 94.66 kB / 0.9585 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.7651, allocations: 49.08 kB / 0.9586 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.7654, allocations: 183.8 kB / 0.9587 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.7654, allocations: 4 kB / 0.9587 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7654, allocations: 0 / 0.9587 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.7654, allocations: 0 / 0.9587 GB, free: 4.367 MB / 0.7169 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.000704/0.7661, allocations: 0.5272 MB / 0.9593 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.7661, allocations: 9.844 kB / 0.9593 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.7662, allocations: 52.67 kB / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.818e-05/0.7663, allocations: 20.56 kB / 0.9593 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.7665, allocations: 232 kB / 0.9596 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.7666, allocations: 23.55 kB / 0.9596 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.7666, allocations: 17.62 kB / 0.9596 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/0.7673, allocations: 315 kB / 0.9599 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.7673, allocations: 0 / 0.9599 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.7673, allocations: 16.98 kB / 0.9599 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.7673, allocations: 3.875 kB / 0.9599 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.769, allocations: 0.8043 MB / 0.9607 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.7693, allocations: 313.2 kB / 0.961 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.7711, allocations: 0.7747 MB / 0.9618 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005192/0.7716, allocations: 268 kB / 0.962 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003633/0.772, allocations: 386 kB / 0.9624 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.772, allocations: 36.75 kB / 0.9624 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.772, allocations: 0 / 0.9624 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.00163/0.7736, allocations: 0.733 MB / 0.9631 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.7737, allocations: 55.41 kB / 0.9632 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.7738, allocations: 132.3 kB / 0.9633 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.7739, allocations: 31.02 kB / 0.9633 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.7739, allocations: 95 kB / 0.9634 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.705e-05/0.774, allocations: 125.7 kB / 0.9636 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.774, allocations: 6.031 kB / 0.9636 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.7741, allocations: 327.8 kB / 0.9639 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.7746, allocations: 228 kB / 0.9641 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.7751, allocations: 228.2 kB / 0.9643 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.7756, allocations: 206.8 kB / 0.9645 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7756, allocations: 4 kB / 0.9645 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001112/0.7768, allocations: 0.4977 MB / 0.965 GB, free: 436 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.7768, allocations: 9.953 kB / 0.965 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7768, allocations: 3.984 kB / 0.965 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7768, allocations: 6.031 kB / 0.965 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.7772, allocations: 109.1 kB / 0.9651 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.7772, allocations: 8.953 kB / 0.9651 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.7774, allocations: 67.27 kB / 0.9652 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.7775, allocations: 12.33 kB / 0.9652 GB, free: 352 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.7776, allocations: 144.2 kB / 0.9653 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.7776, allocations: 16.09 kB / 0.9654 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.779, allocations: 0.5776 MB / 0.9659 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.779, allocations: 3.844 kB / 0.9659 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.779, allocations: 4 kB / 0.9659 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.779, allocations: 8.938 kB / 0.9659 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.7796, allocations: 309.2 kB / 0.9662 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7796, allocations: 1.031 kB / 0.9662 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.78, allocations: 116.6 kB / 0.9663 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.78, allocations: 2.25 kB / 0.9663 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.78, allocations: 7.469 kB / 0.9663 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.78, allocations: 1.469 kB / 0.9663 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.78, allocations: 0 / 0.9663 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.7812, allocations: 0.5471 MB / 0.9669 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.102e-05/0.7814, allocations: 95.8 kB / 0.967 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.7814, allocations: 9.391 kB / 0.967 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.7816, allocations: 49.16 kB / 0.967 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/0.7819, allocations: 122.2 kB / 0.9671 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.7819, allocations: 12.55 kB / 0.9672 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.395e-05/0.782, allocations: 99.23 kB / 0.9673 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.763e-06/0.782, allocations: 1 kB / 0.9673 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006918/0.7827, allocations: 120.3 kB / 0.9674 GB, free: 15.02 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00197/0.7847, allocations: 1.179 MB / 0.9685 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.786, allocations: 0.5193 MB / 0.969 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.786, allocations: 1.094 kB / 0.969 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007476/0.7868, allocations: 285.5 kB / 0.9693 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.7874, allocations: 70.73 kB / 0.9694 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.7906, allocations: 1.603 MB / 0.9709 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.7909, allocations: 0.7308 MB / 0.9716 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004889/0.7914, allocations: 190.4 kB / 0.9718 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.7916, allocations: 62 kB / 0.9719 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.7916, allocations: 0 / 0.9719 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03614/0.8277, allocations: 6.648 MB / 0.9784 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.828, allocations: 206.3 kB / 0.9786 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.836, allocations: 0 / 0.9786 GB, free: 6.414 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat does not exist to compare? outputFormat=mat