Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.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.Fluid.Movers.BaseClasses.Validation.EulerComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001287/0.001287, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0027/0.0027, allocations: 296 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 103.8 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4372, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005576/0.4428, allocations: 3.757 MB / 0.7707 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008797/0.4516, allocations: 4.904 MB / 0.7755 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005762/0.4521, allocations: 12 kB / 0.7755 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003815/0.4559, allocations: 1.407 MB / 0.7769 GB, free: 9.781 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.4579, allocations: 0.7937 MB / 0.7777 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.4599, allocations: 0.8423 MB / 0.7785 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02023/0.4801, allocations: 12.87 MB / 0.7911 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.4805, allocations: 61.75 kB / 0.7911 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.4819, allocations: 0.5801 MB / 0.7917 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008873/0.4828, allocations: 0.5915 MB / 0.7923 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.4829, allocations: 68 kB / 0.7923 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.4847, allocations: 0.8306 MB / 0.7932 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008925/0.4856, allocations: 0.818 MB / 0.794 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008966/0.4865, allocations: 0.8391 MB / 0.7948 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.49, allocations: 2.545 MB / 0.7973 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.49, allocations: 0 / 0.7973 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.49, allocations: 0 / 0.7973 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.712e-05/0.4901, allocations: 4 kB / 0.7973 GB, free: 4.898 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.004785/0.4949, allocations: 2.265 MB / 0.7995 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4949, allocations: 8.031 kB / 0.7995 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00285/0.4978, allocations: 490.4 kB / 0.7999 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005547/0.5033, allocations: 2.857 MB / 0.8027 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.5033, allocations: 24 kB / 0.8028 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.466e-05/0.5034, allocations: 28 kB / 0.8028 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.5049, allocations: 0.6494 MB / 0.8034 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.5049, allocations: 0 / 0.8034 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.5049, allocations: 11.98 kB / 0.8034 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.5049, allocations: 8 kB / 0.8034 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.5065, allocations: 0.5192 MB / 0.8039 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004451/0.511, allocations: 2.218 MB / 0.8061 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.5128, allocations: 0.6935 MB / 0.8068 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007778/0.5136, allocations: 268.7 kB / 0.807 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/0.5136, allocations: 15.86 kB / 0.8071 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.5136, allocations: 38.56 kB / 0.8071 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/0.5136, allocations: 4.109 kB / 0.8071 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.003097/0.5167, allocations: 1.025 MB / 0.8081 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.5168, allocations: 51.41 kB / 0.8082 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0044/0.5212, allocations: 2.688 MB / 0.8108 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.5214, allocations: 37.7 kB / 0.8108 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007527/0.5221, allocations: 0.6648 MB / 0.8115 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.5222, allocations: 87.38 kB / 0.8115 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005536/0.5228, allocations: 346.4 kB / 0.8119 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5229, allocations: 305.1 kB / 0.8122 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/0.5248, allocations: 1.099 MB / 0.8132 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.527, allocations: 1.444 MB / 0.8147 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/0.5306, allocations: 2.328 MB / 0.8169 GB, free: 268 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.5306, allocations: 0 / 0.8169 GB, free: 268 kB / 0.5762 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004831/0.5355, allocations: 2.754 MB / 0.8196 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5355, allocations: 8 kB / 0.8196 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.5355, allocations: 8 kB / 0.8196 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.5355, allocations: 12 kB / 0.8196 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.5366, allocations: 263.7 kB / 0.8199 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/0.5366, allocations: 15.94 kB / 0.8199 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.5383, allocations: 210.8 kB / 0.8201 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.5385, allocations: 79.97 kB / 0.8202 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002411/0.5409, allocations: 1.387 MB / 0.8215 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002062/0.5429, allocations: 1.3 MB / 0.8228 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003399/0.5463, allocations: 2.019 MB / 0.8248 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.538e-06/0.5463, allocations: 0 / 0.8248 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004479/0.5508, allocations: 2.433 MB / 0.8272 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5508, allocations: 18.75 kB / 0.8272 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5508, allocations: 4.125 kB / 0.8272 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.5509, allocations: 16 kB / 0.8272 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.5519, allocations: 251.6 kB / 0.8274 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.5519, allocations: 12 kB / 0.8274 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.5536, allocations: 187.3 kB / 0.8276 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.5538, allocations: 63.98 kB / 0.8277 GB, free: 5.023 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (120): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003071/0.5541, allocations: 235.9 kB / 0.8279 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.5544, allocations: 182.7 kB / 0.8281 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.5566, allocations: 0.807 MB / 0.8289 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.5566, allocations: 4 kB / 0.8289 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5566, allocations: 3.938 kB / 0.8289 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5566, allocations: 0 / 0.8289 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.5581, allocations: 1.059 MB / 0.8299 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5581, allocations: 0 / 0.8299 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.5587, allocations: 83.92 kB / 0.83 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.5587, allocations: 4 kB / 0.83 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.5587, allocations: 11.98 kB / 0.83 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5587, allocations: 0 / 0.83 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.5587, allocations: 4 kB / 0.83 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.5607, allocations: 0.8713 MB / 0.8309 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/0.5614, allocations: 363.6 kB / 0.8312 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.5616, allocations: 4 kB / 0.8312 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.5626, allocations: 91.89 kB / 0.8313 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.5626, allocations: 15.97 kB / 0.8313 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.5627, allocations: 20 kB / 0.8313 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002797/0.5655, allocations: 1.827 MB / 0.8331 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5655, allocations: 0 / 0.8331 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001905/0.5674, allocations: 0.6831 MB / 0.8338 GB, free: 14.65 MB / 0.6075 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 (23): * Single equations (assignments): 23 * 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.0008284/0.5682, allocations: 390.4 kB / 0.8342 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004683/0.5729, allocations: 2.539 MB / 0.8366 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5729, allocations: 1.75 kB / 0.8366 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008041/0.5737, allocations: 291.7 kB / 0.8369 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/0.577, allocations: 0.9085 MB / 0.8378 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/0.5819, allocations: 2.92 MB / 0.8407 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.5831, allocations: 1.405 MB / 0.842 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001773/0.5849, allocations: 0.5179 MB / 0.8425 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/0.5853, allocations: 139.4 kB / 0.8427 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of SimCode: time 8.61e-07/0.5853, allocations: 0 / 0.8427 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of Templates: time 0.0681/0.6534, allocations: 39.03 MB / 0.8808 GB, free: 15.14 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1)