Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.007328/0.007328, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.001753/0.001753, allocations: 181.7 kB / 16.67 MB, free: 5.938 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.334/1.334, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002176/0.002176, allocations: 296.9 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9494/0.9494, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 95.86 kB / 0.6814 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4143, allocations: 86.97 MB / 0.7664 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002251/0.4166, allocations: 1.389 MB / 0.7677 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003365/0.4199, allocations: 2.907 MB / 0.7706 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.42, allocations: 0 / 0.7706 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.91e-05/0.4201, allocations: 7.938 kB / 0.7706 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.4202, allocations: 43.8 kB / 0.7706 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.4208, allocations: 187.1 kB / 0.7708 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.421, allocations: 239.5 kB / 0.771 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/0.4211, allocations: 4 kB / 0.771 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.4212, allocations: 91.84 kB / 0.7711 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.4213, allocations: 119.7 kB / 0.7712 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.4213, allocations: 12 kB / 0.7712 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.4217, allocations: 135.9 kB / 0.7714 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.4218, allocations: 95.75 kB / 0.7715 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.4219, allocations: 91.62 kB / 0.7716 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.4223, allocations: 268.8 kB / 0.7718 GB, free: 14.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4223, allocations: 0 / 0.7718 GB, free: 14.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4223, allocations: 4 kB / 0.7718 GB, free: 14.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4223, allocations: 0 / 0.7718 GB, free: 14.23 MB / 0.545 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.0007898/0.4231, allocations: 0.5335 MB / 0.7723 GB, free: 13.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.4231, allocations: 8.031 kB / 0.7723 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.4233, allocations: 24.84 kB / 0.7724 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.4235, allocations: 240.1 kB / 0.7726 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.4236, allocations: 28.3 kB / 0.7726 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.4236, allocations: 12.38 kB / 0.7726 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.4242, allocations: 298.2 kB / 0.7729 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4242, allocations: 7.938 kB / 0.7729 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.4243, allocations: 4 kB / 0.7729 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4243, allocations: 4 kB / 0.7729 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.4257, allocations: 0.7491 MB / 0.7737 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.4261, allocations: 313.3 kB / 0.774 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.4277, allocations: 0.6757 MB / 0.7746 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/0.4282, allocations: 225.3 kB / 0.7748 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004552/0.4287, allocations: 396.1 kB / 0.7752 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.4287, allocations: 42.5 kB / 0.7753 GB, free: 10.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.4287, allocations: 3.938 kB / 0.7753 GB, free: 10.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001634/0.4304, allocations: 0.6423 MB / 0.7759 GB, free: 9.812 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.4304, allocations: 59.16 kB / 0.7759 GB, free: 9.742 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.4305, allocations: 132.9 kB / 0.7761 GB, free: 9.605 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.4306, allocations: 29.7 kB / 0.7761 GB, free: 9.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.4306, allocations: 92.8 kB / 0.7762 GB, free: 9.477 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.4307, allocations: 138.8 kB / 0.7763 GB, free: 9.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/0.4308, allocations: 57.69 kB / 0.7764 GB, free: 9.277 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.431, allocations: 334.8 kB / 0.7767 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.4315, allocations: 187.8 kB / 0.7769 GB, free: 8.758 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.4319, allocations: 203.9 kB / 0.7771 GB, free: 8.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.4328, allocations: 364.2 kB / 0.7774 GB, free: 8.199 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4328, allocations: 0 / 0.7774 GB, free: 8.199 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001029/0.4338, allocations: 465.3 kB / 0.7779 GB, free: 7.738 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4339, allocations: 8 kB / 0.7779 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4339, allocations: 0 / 0.7779 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4339, allocations: 0 / 0.7779 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.4343, allocations: 103.8 kB / 0.778 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4343, allocations: 0 / 0.778 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.4345, allocations: 51.75 kB / 0.778 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.4345, allocations: 11.98 kB / 0.778 GB, free: 7.566 MB / 0.545 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.0001217/0.4346, allocations: 149.8 kB / 0.7782 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.4347, allocations: 19.84 kB / 0.7782 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.4358, allocations: 0.5165 MB / 0.7787 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4359, allocations: 3.938 kB / 0.7787 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4359, allocations: 4 kB / 0.7787 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4359, allocations: 0 / 0.7787 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.4362, allocations: 313.3 kB / 0.779 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.4362, allocations: 3.984 kB / 0.779 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.4365, allocations: 99.8 kB / 0.7791 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.4366, allocations: 4 kB / 0.7791 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.4366, allocations: 11.98 kB / 0.7791 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.4366, allocations: 4 kB / 0.7791 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4366, allocations: 0 / 0.7791 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.4376, allocations: 0.4926 MB / 0.7796 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.4377, allocations: 108.8 kB / 0.7797 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.4378, allocations: 7.938 kB / 0.7797 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.4379, allocations: 39.95 kB / 0.7797 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.4381, allocations: 119.8 kB / 0.7799 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.4382, allocations: 11.98 kB / 0.7799 GB, free: 5.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.4382, allocations: 99.27 kB / 0.78 GB, free: 5.477 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4383, allocations: 0 / 0.78 GB, free: 5.477 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003649/0.4386, allocations: 119.8 kB / 0.7801 GB, free: 5.359 MB / 0.545 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.0003125/0.4389, allocations: 186.9 kB / 0.7803 GB, free: 5.168 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.44, allocations: 471.2 kB / 0.7807 GB, free: 4.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.44, allocations: 0 / 0.7807 GB, free: 4.707 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.4405, allocations: 260.7 kB / 0.781 GB, free: 4.453 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.4409, allocations: 75.94 kB / 0.781 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.4416, allocations: 442 kB / 0.7815 GB, free: 3.918 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.4419, allocations: 0.7328 MB / 0.7822 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003745/0.4423, allocations: 183 kB / 0.7823 GB, free: 3.004 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.4424, allocations: 43.41 kB / 0.7824 GB, free: 2.965 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.4424, allocations: 0 / 0.7824 GB, free: 2.965 MB / 0.545 GB Notification: Performance of Templates: time 0.008596/0.451, allocations: 5.314 MB / 0.7876 GB, free: 13.72 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)