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.00103/0.00103, allocations: 102.9 kB / 16.35 MB, free: 5.879 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.0009924/0.0009924, allocations: 195.3 kB / 17.3 MB, free: 5.52 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002116, allocations: 293.4 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8869/0.8869, allocations: 169.2 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 91.67 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1644, allocations: 86.97 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.004795/0.1692, allocations: 3.752 MB / 0.6853 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2652/0.4345, allocations: 4.886 MB / 0.69 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006959/0.4352, allocations: 17.06 kB / 0.69 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.4453, allocations: 5.658 MB / 0.6956 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.447, allocations: 0.7738 MB / 0.6963 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.4487, allocations: 0.8418 MB / 0.6972 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01771/0.4664, allocations: 12.77 MB / 0.7096 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.4667, allocations: 86.62 kB / 0.7097 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009149/0.4677, allocations: 0.5504 MB / 0.7102 GB, free: 8.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006052/0.4683, allocations: 0.5764 MB / 0.7108 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.4684, allocations: 67.66 kB / 0.7109 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.4697, allocations: 0.8288 MB / 0.7117 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004807/0.4702, allocations: 0.7923 MB / 0.7125 GB, free: 7.945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005917/0.4708, allocations: 0.8359 MB / 0.7133 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.4732, allocations: 2.521 MB / 0.7157 GB, free: 5.785 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4732, allocations: 0 / 0.7157 GB, free: 5.785 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4732, allocations: 4 kB / 0.7157 GB, free: 5.781 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.4732, allocations: 0 / 0.7157 GB, free: 5.781 MB / 494.1 MB 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.003383/0.4766, allocations: 2.175 MB / 0.7179 GB, free: 4.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4767, allocations: 8.969 kB / 0.7179 GB, free: 4.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.4791, allocations: 490.8 kB / 0.7183 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003961/0.4831, allocations: 2.724 MB / 0.721 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.4831, allocations: 28.47 kB / 0.721 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.4832, allocations: 31.7 kB / 0.7211 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.4844, allocations: 0.6494 MB / 0.7217 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4844, allocations: 0.5625 kB / 0.7217 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.4844, allocations: 10.12 kB / 0.7217 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.4844, allocations: 4.531 kB / 0.7217 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.4858, allocations: 0.5368 MB / 0.7222 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/0.4893, allocations: 2.213 MB / 0.7244 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.4909, allocations: 0.7021 MB / 0.7251 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000697/0.4916, allocations: 286.9 kB / 0.7253 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.4917, allocations: 6.875 kB / 0.7254 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.4917, allocations: 33.56 kB / 0.7254 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.744e-06/0.4917, allocations: 0 / 0.7254 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.002588/0.4943, allocations: 1.028 MB / 0.7264 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.4944, allocations: 54.69 kB / 0.7264 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/0.4978, allocations: 2.613 MB / 0.729 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.4979, allocations: 36.45 kB / 0.729 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006523/0.4985, allocations: 0.6686 MB / 0.7297 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.4987, allocations: 81.75 kB / 0.7298 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004857/0.4992, allocations: 354.2 kB / 0.7301 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4993, allocations: 304.8 kB / 0.7304 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.501, allocations: 1.099 MB / 0.7315 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.503, allocations: 1.444 MB / 0.7329 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003209/0.5062, allocations: 2.321 MB / 0.7351 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.5062, allocations: 4 kB / 0.7351 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004359/0.5106, allocations: 2.741 MB / 0.7378 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.5106, allocations: 8 kB / 0.7378 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.5106, allocations: 7.938 kB / 0.7378 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.5107, allocations: 12 kB / 0.7378 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.5117, allocations: 259.7 kB / 0.7381 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.5118, allocations: 15.94 kB / 0.7381 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.5134, allocations: 209.8 kB / 0.7383 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.5136, allocations: 79.97 kB / 0.7384 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002108/0.5157, allocations: 1.389 MB / 0.7397 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001714/0.5174, allocations: 1.294 MB / 0.741 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002772/0.5202, allocations: 2.011 MB / 0.743 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.5202, allocations: 4 kB / 0.743 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.003788/0.524, allocations: 2.42 MB / 0.7453 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.524, allocations: 8 kB / 0.7453 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5241, allocations: 8 kB / 0.7453 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5241, allocations: 15.94 kB / 0.7454 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009631/0.525, allocations: 251.6 kB / 0.7456 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.5251, allocations: 19.92 kB / 0.7456 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.5268, allocations: 177.2 kB / 0.7458 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.5269, allocations: 67.98 kB / 0.7459 GB, free: 12.08 MB / 0.5137 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.0002645/0.5272, allocations: 228 kB / 0.7461 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/0.5274, allocations: 169.6 kB / 0.7462 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.5294, allocations: 0.8144 MB / 0.747 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5295, allocations: 4 kB / 0.747 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5295, allocations: 0 / 0.747 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5295, allocations: 0 / 0.747 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.5309, allocations: 1.052 MB / 0.7481 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5309, allocations: 3.938 kB / 0.7481 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.5315, allocations: 87.92 kB / 0.7481 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5315, allocations: 7.938 kB / 0.7482 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.5315, allocations: 15.92 kB / 0.7482 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5315, allocations: 4 kB / 0.7482 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5315, allocations: 0.875 kB / 0.7482 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.5332, allocations: 0.8617 MB / 0.749 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006947/0.5339, allocations: 354.6 kB / 0.7494 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.5341, allocations: 3.938 kB / 0.7494 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008809/0.535, allocations: 87.89 kB / 0.7494 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.5351, allocations: 23.97 kB / 0.7495 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.5351, allocations: 12 kB / 0.7495 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002355/0.5375, allocations: 1.777 MB / 0.7512 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5375, allocations: 0 / 0.7512 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001723/0.5392, allocations: 0.6755 MB / 0.7519 GB, free: 5.801 MB / 0.5137 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.0007168/0.54, allocations: 389.5 kB / 0.7522 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004015/0.544, allocations: 2.768 MB / 0.7549 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.544, allocations: 0 / 0.7549 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006843/0.5447, allocations: 292.8 kB / 0.7552 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.5473, allocations: 0.9096 MB / 0.7561 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.552, allocations: 2.955 MB / 0.759 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009837/0.553, allocations: 1.416 MB / 0.7604 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001413/0.5544, allocations: 0.5217 MB / 0.7609 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.5548, allocations: 139.4 kB / 0.761 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.5549, allocations: 0 / 0.761 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.05457/0.6094, allocations: 38.57 MB / 0.7987 GB, free: 6.562 MB / 0.5606 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)