Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.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.EulerReducedSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007405/0.007405, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001435/0.001435, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 283.9 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9448/0.9448, allocations: 169.3 MB / 0.4983 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 91.84 kB / 0.6815 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3887, allocations: 86.97 MB / 0.7664 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006921/0.3957, allocations: 4.906 MB / 0.7712 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009273/0.405, allocations: 5.563 MB / 0.7766 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00086/0.4059, allocations: 31.81 kB / 0.7766 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003549/0.4095, allocations: 1.501 MB / 0.7781 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.4118, allocations: 1.124 MB / 0.7792 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.4141, allocations: 1.18 MB / 0.7804 GB, free: 5.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01861/0.4327, allocations: 13.58 MB / 0.7936 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.4331, allocations: 162.7 kB / 0.7938 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.4344, allocations: 0.8565 MB / 0.7946 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.4356, allocations: 0.8638 MB / 0.7955 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002933/0.4359, allocations: 100 kB / 0.7956 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.4381, allocations: 1.369 MB / 0.7969 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.4392, allocations: 1.157 MB / 0.798 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.4408, allocations: 1.255 MB / 0.7992 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00479/0.4456, allocations: 4.004 MB / 0.8032 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.4456, allocations: 0 / 0.8032 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4456, allocations: 0 / 0.8032 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.672e-05/0.4457, allocations: 0 / 0.8032 GB, free: 14.02 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.006396/0.4521, allocations: 3.175 MB / 0.8063 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.4521, allocations: 8.031 kB / 0.8063 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/0.4561, allocations: 0.7319 MB / 0.807 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007807/0.4639, allocations: 4.376 MB / 0.8112 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.464, allocations: 36.56 kB / 0.8113 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.4642, allocations: 48 kB / 0.8113 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.4659, allocations: 0.9884 MB / 0.8123 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4659, allocations: 0 / 0.8123 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-05/0.466, allocations: 16 kB / 0.8123 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.466, allocations: 4 kB / 0.8123 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.4681, allocations: 0.8492 MB / 0.8131 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005621/0.4737, allocations: 3.242 MB / 0.8163 GB, free: 372 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.4759, allocations: 1.142 MB / 0.8174 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000987/0.4769, allocations: 457.1 kB / 0.8179 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.538e-05/0.477, allocations: 20.19 kB / 0.8179 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.477, allocations: 46.78 kB / 0.8179 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.655e-06/0.477, allocations: 0 / 0.8179 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.003722/0.4807, allocations: 1.63 MB / 0.8195 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.4808, allocations: 55.41 kB / 0.8196 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004935/0.4857, allocations: 3.814 MB / 0.8233 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.4859, allocations: 37.7 kB / 0.8233 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008701/0.4868, allocations: 1.005 MB / 0.8243 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.4869, allocations: 134.9 kB / 0.8244 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006668/0.4876, allocations: 0.5236 MB / 0.825 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.4877, allocations: 305.1 kB / 0.8252 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/0.4902, allocations: 1.821 MB / 0.827 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002852/0.493, allocations: 2.351 MB / 0.8293 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004798/0.4979, allocations: 3.864 MB / 0.8331 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.4979, allocations: 8 kB / 0.8331 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006279/0.5042, allocations: 4.488 MB / 0.8375 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.5042, allocations: 11.94 kB / 0.8375 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.5042, allocations: 12 kB / 0.8375 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.5043, allocations: 20 kB / 0.8375 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.5057, allocations: 379.6 kB / 0.8379 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/0.5057, allocations: 27.86 kB / 0.8379 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.5077, allocations: 266.5 kB / 0.8382 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.5078, allocations: 108 kB / 0.8383 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003029/0.5109, allocations: 2.162 MB / 0.8404 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002494/0.5134, allocations: 2.065 MB / 0.8424 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004283/0.5177, allocations: 3.292 MB / 0.8456 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.166e-05/0.5177, allocations: 4 kB / 0.8456 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.005884/0.5236, allocations: 3.898 MB / 0.8494 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5236, allocations: 8 kB / 0.8494 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.5237, allocations: 15.94 kB / 0.8494 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.5237, allocations: 24.09 kB / 0.8495 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.5251, allocations: 371.4 kB / 0.8498 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.781e-05/0.5251, allocations: 27.94 kB / 0.8498 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.5272, allocations: 211 kB / 0.8501 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.5274, allocations: 99.97 kB / 0.8501 GB, free: 12.98 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (187): * Single equations (assignments): 180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 4 * 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.0003499/0.5278, allocations: 247.9 kB / 0.8504 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006129/0.5284, allocations: 282 kB / 0.8507 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/0.5313, allocations: 1.251 MB / 0.8519 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.5313, allocations: 4 kB / 0.8519 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5313, allocations: 4 kB / 0.8519 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5313, allocations: 0 / 0.8519 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.5336, allocations: 1.509 MB / 0.8534 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.5336, allocations: 0 / 0.8534 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006895/0.5343, allocations: 127.8 kB / 0.8535 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.5343, allocations: 7.938 kB / 0.8535 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.5344, allocations: 15.98 kB / 0.8535 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.279e-06/0.5344, allocations: 4 kB / 0.8535 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5344, allocations: 0 / 0.8535 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.537, allocations: 1.308 MB / 0.8548 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.538, allocations: 0.5027 MB / 0.8553 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005654/0.5386, allocations: 4 kB / 0.8553 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.5398, allocations: 75.91 kB / 0.8553 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.869e-05/0.5399, allocations: 31.91 kB / 0.8554 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/0.54, allocations: 23.98 kB / 0.8554 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003547/0.5436, allocations: 2.563 MB / 0.8579 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.9e-07/0.5436, allocations: 0 / 0.8579 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0026/0.5462, allocations: 1.027 MB / 0.8589 GB, free: 3.914 MB / 0.6231 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 (36): * Single equations (assignments): 36 * 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.001223/0.5474, allocations: 498.1 kB / 0.8594 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006565/0.554, allocations: 4.548 MB / 0.8638 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.554, allocations: 3.938 kB / 0.8638 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.555, allocations: 480.4 kB / 0.8643 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/0.5594, allocations: 1.314 MB / 0.8656 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005901/0.5653, allocations: 4.268 MB / 0.8697 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.5667, allocations: 1.788 MB / 0.8715 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002429/0.5692, allocations: 0.7939 MB / 0.8723 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006014/0.5698, allocations: 211.4 kB / 0.8725 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of SimCode: time 7.91e-07/0.5698, allocations: 0 / 0.8725 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of Templates: time 0.08394/0.6537, allocations: 57.1 MB / 0.9282 GB, free: 13.82 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1)