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.00434/0.00434, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001021/0.001021, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 285.9 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.936/0.936, allocations: 169.3 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 95.86 kB / 0.6814 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.431, allocations: 86.99 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.004652/0.4357, allocations: 3.749 MB / 0.7701 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007421/0.4431, allocations: 4.902 MB / 0.7748 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.4436, allocations: 15.94 kB / 0.7749 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.4467, allocations: 1.403 MB / 0.7762 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.4481, allocations: 0.7898 MB / 0.777 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.4497, allocations: 0.8394 MB / 0.7778 GB, free: 8.195 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01769/0.4674, allocations: 12.81 MB / 0.7903 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.4677, allocations: 93.69 kB / 0.7904 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009821/0.4687, allocations: 0.5878 MB / 0.791 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000701/0.4694, allocations: 0.5915 MB / 0.7916 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.4695, allocations: 72 kB / 0.7916 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.4709, allocations: 0.8306 MB / 0.7924 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006551/0.4716, allocations: 0.7987 MB / 0.7932 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007688/0.4724, allocations: 0.8352 MB / 0.794 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.4751, allocations: 2.546 MB / 0.7965 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4751, allocations: 0 / 0.7965 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4751, allocations: 0 / 0.7965 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.01e-05/0.4751, allocations: 0 / 0.7965 GB, free: 4.996 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.003653/0.4788, allocations: 2.199 MB / 0.7987 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.4788, allocations: 8.031 kB / 0.7987 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.4812, allocations: 485.2 kB / 0.7991 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00449/0.4857, allocations: 2.809 MB / 0.8019 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.4857, allocations: 31.94 kB / 0.8019 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/0.4858, allocations: 28 kB / 0.8019 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.4871, allocations: 0.6456 MB / 0.8026 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4871, allocations: 4 kB / 0.8026 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/0.4871, allocations: 12 kB / 0.8026 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.4871, allocations: 4 kB / 0.8026 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.4886, allocations: 0.5231 MB / 0.8031 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.4921, allocations: 2.233 MB / 0.8053 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.4936, allocations: 0.6975 MB / 0.806 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006824/0.4943, allocations: 280.7 kB / 0.8062 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.4944, allocations: 15.92 kB / 0.8063 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.4944, allocations: 34.56 kB / 0.8063 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/0.4944, allocations: 0 / 0.8063 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.002531/0.497, allocations: 1.028 MB / 0.8073 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.497, allocations: 51.41 kB / 0.8073 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003313/0.5003, allocations: 2.676 MB / 0.8099 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.458e-05/0.5004, allocations: 41.64 kB / 0.81 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/0.501, allocations: 0.6567 MB / 0.8106 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.56e-05/0.5011, allocations: 94.83 kB / 0.8107 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004782/0.5015, allocations: 346.3 kB / 0.8111 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.201e-05/0.5016, allocations: 305.1 kB / 0.8113 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.5032, allocations: 1.095 MB / 0.8124 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.5051, allocations: 1.448 MB / 0.8138 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/0.5082, allocations: 2.325 MB / 0.8161 GB, free: 464 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.5082, allocations: 3.938 kB / 0.8161 GB, free: 460 kB / 0.5762 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004134/0.5124, allocations: 2.73 MB / 0.8188 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5124, allocations: 8 kB / 0.8188 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.5124, allocations: 8 kB / 0.8188 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.5124, allocations: 12 kB / 0.8188 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.5135, allocations: 263.6 kB / 0.819 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.5135, allocations: 16.05 kB / 0.8191 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.515, allocations: 218.3 kB / 0.8193 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.5151, allocations: 79.97 kB / 0.8193 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002071/0.5172, allocations: 1.391 MB / 0.8207 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001717/0.5189, allocations: 1.3 MB / 0.822 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002825/0.5217, allocations: 2.023 MB / 0.8239 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-06/0.5218, allocations: 0 / 0.8239 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.00383/0.5256, allocations: 2.42 MB / 0.8263 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5256, allocations: 12.03 kB / 0.8263 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5256, allocations: 8 kB / 0.8263 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5257, allocations: 12 kB / 0.8263 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/0.5266, allocations: 247.7 kB / 0.8266 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.5266, allocations: 19.92 kB / 0.8266 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.5282, allocations: 171.1 kB / 0.8268 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.5283, allocations: 71.98 kB / 0.8268 GB, free: 5.238 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.0002709/0.5286, allocations: 239.8 kB / 0.8271 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/0.529, allocations: 169.7 kB / 0.8272 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.531, allocations: 0.804 MB / 0.828 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.531, allocations: 4 kB / 0.828 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.531, allocations: 0 / 0.828 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.5311, allocations: 3.984 kB / 0.828 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.5326, allocations: 1.051 MB / 0.829 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5326, allocations: 0 / 0.829 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/0.5331, allocations: 95.86 kB / 0.8291 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.5331, allocations: 0 / 0.8291 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.5332, allocations: 7.984 kB / 0.8291 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5332, allocations: 0 / 0.8291 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.5332, allocations: 4 kB / 0.8291 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.5349, allocations: 0.8646 MB / 0.83 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006309/0.5356, allocations: 346.6 kB / 0.8303 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.5359, allocations: 4 kB / 0.8303 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009494/0.5368, allocations: 95.81 kB / 0.8304 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.5369, allocations: 15.98 kB / 0.8304 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.537, allocations: 23.98 kB / 0.8304 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002702/0.5397, allocations: 1.828 MB / 0.8322 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5397, allocations: 0 / 0.8322 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001833/0.5415, allocations: 0.6794 MB / 0.8329 GB, free: 14.89 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.0008695/0.5424, allocations: 382.8 kB / 0.8333 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004295/0.5467, allocations: 2.769 MB / 0.836 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5467, allocations: 4.062 kB / 0.836 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007093/0.5474, allocations: 291.8 kB / 0.8362 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/0.5503, allocations: 0.9139 MB / 0.8371 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.5548, allocations: 2.862 MB / 0.8399 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/0.5559, allocations: 1.409 MB / 0.8413 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00154/0.5575, allocations: 0.5179 MB / 0.8418 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.5579, allocations: 139.4 kB / 0.842 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.5579, allocations: 0 / 0.842 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of Templates: time 0.05639/0.6143, allocations: 38.87 MB / 0.8799 GB, free: 15.37 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1)