Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9593/0.9593, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 58.38 kB / 0.5053 GB, free: 5.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1656, allocations: 80.94 MB / 0.5844 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.3634/0.529, allocations: 80.52 MB / 0.663 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03349/0.5625, allocations: 19.23 MB / 0.6818 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005603/0.5682, allocations: 106.6 kB / 0.6819 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004892/0.5731, allocations: 1.157 MB / 0.683 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.584, allocations: 2.778 MB / 0.6857 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008823/0.5928, allocations: 2.395 MB / 0.6881 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02421/0.6171, allocations: 15.48 MB / 0.7032 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01262/0.6297, allocations: 7.223 MB / 0.7102 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01606/0.6458, allocations: 5.836 MB / 0.7159 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01244/0.6583, allocations: 5.057 MB / 0.7209 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002697/0.661, allocations: 0.5352 MB / 0.7214 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008174/0.6692, allocations: 1.791 MB / 0.7231 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003147/0.6724, allocations: 1.624 MB / 0.7247 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006785/0.6792, allocations: 3.297 MB / 0.7279 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.6911, allocations: 8.959 MB / 0.7367 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6911, allocations: 0 / 0.7367 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6911, allocations: 0 / 0.7367 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002496/0.6914, allocations: 4 kB / 0.7367 GB, free: 0.9688 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: 834 * Number of variables: 834 Notification: Performance of Generate backend data structure: time 0.0129/0.7043, allocations: 6.48 MB / 0.743 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.7044, allocations: 11.97 kB / 0.743 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/0.7078, allocations: 0.825 MB / 0.7438 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009604/0.7174, allocations: 5.087 MB / 0.7488 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.7177, allocations: 255.1 kB / 0.749 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007112/0.7184, allocations: 340 kB / 0.7494 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009518/0.7279, allocations: 5.703 MB / 0.7549 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.451e-05/0.728, allocations: 15.88 kB / 0.755 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004634/0.7285, allocations: 144 kB / 0.7551 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.7286, allocations: 121.9 kB / 0.7552 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009184/0.7378, allocations: 5.515 MB / 0.7606 GB, free: 8.051 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03517/0.773, allocations: 23.8 MB / 0.7838 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004692/0.7777, allocations: 2.744 MB / 0.7865 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/0.7805, allocations: 1.905 MB / 0.7884 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.7924, allocations: 7.069 MB / 0.7953 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003166/0.7956, allocations: 1.925 MB / 0.7972 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00398/0.7996, allocations: 0.7041 MB / 0.7979 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=155): time 1.272e-05/0.7997, allocations: 0 / 0.7979 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=155): time 0.0246/0.8243, allocations: 7.93 MB / 0.8056 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.8244, allocations: 68.72 kB / 0.8057 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007855/0.8322, allocations: 5.007 MB / 0.8106 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0007382/0.833, allocations: 65.7 kB / 0.8106 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002402/0.8354, allocations: 2.467 MB / 0.813 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001028/0.8365, allocations: 0.5432 MB / 0.8136 GB, free: 312 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.8375, allocations: 0.6607 MB / 0.8142 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.8376, allocations: 309.1 kB / 0.8145 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00281/0.8405, allocations: 1.718 MB / 0.8162 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00371/0.8442, allocations: 2.91 MB / 0.819 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006998/0.8512, allocations: 4.68 MB / 0.8236 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.918e-05/0.8513, allocations: 8 kB / 0.8236 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01414/0.8654, allocations: 6.297 MB / 0.8297 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.8656, allocations: 49.69 kB / 0.8298 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.014e-05/0.8657, allocations: 36.91 kB / 0.8298 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07965/0.9453, allocations: 13.55 MB / 0.8431 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/0.9482, allocations: 0.6474 MB / 0.8437 GB, free: 356 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009905/0.9582, allocations: 5.477 MB / 0.849 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004626/0.9628, allocations: 220.5 kB / 0.8492 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007446/0.9636, allocations: 191.8 kB / 0.8494 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00667/0.9703, allocations: 2.968 MB / 0.8523 GB, free: 7.414 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003766/0.9741, allocations: 2.847 MB / 0.8551 GB, free: 4.012 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3183/1.292, allocations: 4.544 MB / 0.8595 GB, free: 205.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.236e-05/1.293, allocations: 9.375 kB / 0.8596 GB, free: 205.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.01315/1.306, allocations: 5.986 MB / 0.8654 GB, free: 205.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/1.306, allocations: 49.23 kB / 0.8654 GB, free: 205.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.906e-05/1.306, allocations: 34.94 kB / 0.8655 GB, free: 205.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07589/1.382, allocations: 13.3 MB / 0.8785 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/1.385, allocations: 0.6403 MB / 0.8791 GB, free: 204.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/1.397, allocations: 8.902 MB / 0.8878 GB, free: 199 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00496/1.402, allocations: 222.8 kB / 0.888 GB, free: 198.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008236/1.403, allocations: 187.4 kB / 0.8882 GB, free: 198.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (283): * Single equations (assignments): 278 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,15), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0009759/1.404, allocations: 373 kB / 0.8885 GB, free: 198.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/1.406, allocations: 466.3 kB / 0.889 GB, free: 198.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009941/1.416, allocations: 4.572 MB / 0.8934 GB, free: 197 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/1.416, allocations: 22.09 kB / 0.8935 GB, free: 197 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.416, allocations: 0.7031 kB / 0.8935 GB, free: 197 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0113/1.427, allocations: 5.623 MB / 0.899 GB, free: 194 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03111/1.458, allocations: 10.72 MB / 0.9094 GB, free: 189.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/1.458, allocations: 3.844 kB / 0.9094 GB, free: 189.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/1.461, allocations: 374.1 kB / 0.9098 GB, free: 189.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07017/1.531, allocations: 11.71 MB / 0.9212 GB, free: 187.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005785/1.532, allocations: 46.06 kB / 0.9213 GB, free: 187.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00543/1.537, allocations: 3.563 MB / 0.9248 GB, free: 184.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.537, allocations: 0 / 0.9248 GB, free: 184.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02314/1.56, allocations: 8.416 MB / 0.933 GB, free: 179.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003552/1.564, allocations: 0.9222 MB / 0.9339 GB, free: 179.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/1.565, allocations: 29.09 kB / 0.9339 GB, free: 179.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003248/1.569, allocations: 138.9 kB / 0.934 GB, free: 179.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/1.569, allocations: 114.2 kB / 0.9341 GB, free: 179.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002337/1.569, allocations: 83.02 kB / 0.9342 GB, free: 179.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005012/1.574, allocations: 3.437 MB / 0.9376 GB, free: 175.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/1.574, allocations: 224 / 0.9376 GB, free: 175.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00862/1.583, allocations: 2.632 MB / 0.9401 GB, free: 173.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.s[1],val.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,5), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/1.584, allocations: 0.5361 MB / 0.9407 GB, free: 172.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01907/1.603, allocations: 8.416 MB / 0.9489 GB, free: 164.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.603, allocations: 4 kB / 0.9489 GB, free: 164.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005606/1.609, allocations: 2.288 MB / 0.9511 GB, free: 162.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01325/1.622, allocations: 2.73 MB / 0.9538 GB, free: 159.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/1.637, allocations: 10.1 MB / 0.9637 GB, free: 149.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002062/1.639, allocations: 3.237 MB / 0.9668 GB, free: 146.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005599/1.645, allocations: 1.661 MB / 0.9684 GB, free: 144.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.646, allocations: 351.3 kB / 0.9688 GB, free: 144.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.333e-06/1.646, allocations: 0 / 0.9688 GB, free: 144.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1431/1.789, allocations: 114.8 MB / 1.081 GB, free: 30.26 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)