Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001465/0.001465, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001471/0.001472, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7432/0.7432, allocations: 132.2 MB / 422.2 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 64.19 kB / 0.5011 GB, free: 4.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4851/0.4864, allocations: 80.21 MB / 0.5794 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.08395/0.5704, allocations: 80.02 MB / 0.6576 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03114/0.6015, allocations: 19.32 MB / 0.6764 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004916/0.6065, allocations: 103.3 kB / 0.6765 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004143/0.6107, allocations: 0.9793 MB / 0.6775 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008648/0.6194, allocations: 2.588 MB / 0.68 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006448/0.6259, allocations: 2.163 MB / 0.6821 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02319/0.6491, allocations: 20.75 MB / 0.7024 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008594/0.6577, allocations: 6.151 MB / 0.7084 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009751/0.6675, allocations: 4.813 MB / 0.7131 GB, free: 8.434 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008736/0.6762, allocations: 5.03 MB / 0.718 GB, free: 3.383 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001834/0.6781, allocations: 320 kB / 0.7183 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005808/0.6839, allocations: 1.556 MB / 0.7198 GB, free: 1.512 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002265/0.6862, allocations: 1.358 MB / 0.7212 GB, free: 152 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006009/0.6922, allocations: 2.993 MB / 0.7241 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.7035, allocations: 8.751 MB / 0.7326 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7036, allocations: 0 / 0.7326 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7036, allocations: 0 / 0.7326 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002482/0.7038, allocations: 0 / 0.7326 GB, free: 4.363 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: 834 * Number of variables: 834 Notification: Performance of Generate backend data structure: time 0.0131/0.7169, allocations: 6.474 MB / 0.7389 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.717, allocations: 16.02 kB / 0.739 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/0.7205, allocations: 0.8168 MB / 0.7398 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009456/0.73, allocations: 5.273 MB / 0.7449 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.7302, allocations: 263.1 kB / 0.7452 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006557/0.7309, allocations: 340 kB / 0.7455 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009781/0.7407, allocations: 5.701 MB / 0.751 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.917e-05/0.7408, allocations: 11.88 kB / 0.7511 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004133/0.7412, allocations: 143.9 kB / 0.7512 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.712e-05/0.7413, allocations: 114 kB / 0.7513 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008796/0.7501, allocations: 5.534 MB / 0.7567 GB, free: 11.25 MB / 0.5919 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.03179/0.7819, allocations: 23.76 MB / 0.7799 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004666/0.7866, allocations: 2.741 MB / 0.7826 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00283/0.7894, allocations: 1.89 MB / 0.7844 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/0.8013, allocations: 7.046 MB / 0.7913 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003095/0.8044, allocations: 1.918 MB / 0.7932 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004148/0.8086, allocations: 1.192 MB / 0.7944 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=156): time 7.043e-06/0.8086, allocations: 0 / 0.7944 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=156): time 0.02071/0.8293, allocations: 7.347 MB / 0.8015 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.8294, allocations: 76.7 kB / 0.8016 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007842/0.8373, allocations: 4.898 MB / 0.8064 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005632/0.8379, allocations: 69.69 kB / 0.8065 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002416/0.8403, allocations: 2.451 MB / 0.8088 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008931/0.8412, allocations: 0.5547 MB / 0.8094 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009615/0.8422, allocations: 0.6022 MB / 0.81 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8423, allocations: 305.1 kB / 0.8103 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00278/0.8451, allocations: 1.679 MB / 0.8119 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3737/1.219, allocations: 2.856 MB / 0.8147 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009162/1.228, allocations: 4.563 MB / 0.8192 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.224e-05/1.228, allocations: 11.14 kB / 0.8192 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01466/1.243, allocations: 6.059 MB / 0.8251 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.672e-05/1.243, allocations: 51.69 kB / 0.8251 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.159e-05/1.243, allocations: 34.14 kB / 0.8252 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07352/1.317, allocations: 12.02 MB / 0.8369 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00312/1.32, allocations: 0.66 MB / 0.8376 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007269/1.327, allocations: 5.023 MB / 0.8425 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005843/1.333, allocations: 329.3 kB / 0.8428 GB, free: 195 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007658/1.334, allocations: 158.1 kB / 0.8429 GB, free: 195 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005407/1.339, allocations: 2.921 MB / 0.8458 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00302/1.342, allocations: 2.805 MB / 0.8485 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005082/1.347, allocations: 4.437 MB / 0.8528 GB, free: 187 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.353e-05/1.347, allocations: 12 kB / 0.8529 GB, free: 187 MB / 0.6387 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.009874/1.357, allocations: 5.745 MB / 0.8585 GB, free: 181.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.546e-05/1.357, allocations: 49.77 kB / 0.8585 GB, free: 181.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.454e-05/1.357, allocations: 36 kB / 0.8586 GB, free: 181.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06575/1.423, allocations: 11.8 MB / 0.8701 GB, free: 169.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/1.426, allocations: 0.6473 MB / 0.8707 GB, free: 169 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/1.436, allocations: 8.031 MB / 0.8785 GB, free: 160.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005152/1.442, allocations: 337.5 kB / 0.8789 GB, free: 160.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006951/1.442, allocations: 155.9 kB / 0.879 GB, free: 160.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (285): * Single equations (assignments): 280 * 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,13), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001274/1.444, allocations: 365.7 kB / 0.8794 GB, free: 159.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001681/1.445, allocations: 464.8 kB / 0.8798 GB, free: 159.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0086/1.454, allocations: 4.832 MB / 0.8845 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/1.454, allocations: 16 kB / 0.8845 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.454, allocations: 0 / 0.8845 GB, free: 154.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01746/1.472, allocations: 6.864 MB / 0.8912 GB, free: 147.6 MB / 0.6387 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 postOpt removeSimpleEquations (simulation): time 0.03119/1.503, allocations: 12.97 MB / 0.9039 GB, free: 134.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.42e-05/1.503, allocations: 0 / 0.9039 GB, free: 134.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002374/1.505, allocations: 359.6 kB / 0.9043 GB, free: 134.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06568/1.571, allocations: 12.01 MB / 0.916 GB, free: 122.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005554/1.572, allocations: 51.91 kB / 0.916 GB, free: 122.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005668/1.577, allocations: 4.335 MB / 0.9203 GB, free: 117.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.577, allocations: 0 / 0.9203 GB, free: 117.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02356/1.601, allocations: 9.508 MB / 0.9296 GB, free: 108.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003253/1.604, allocations: 0.9968 MB / 0.9305 GB, free: 107.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001544/1.606, allocations: 32 kB / 0.9306 GB, free: 107.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004022/1.61, allocations: 255.5 kB / 0.9308 GB, free: 107 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005113/1.61, allocations: 105.1 kB / 0.9309 GB, free: 106.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003952/1.611, allocations: 83.92 kB / 0.931 GB, free: 106.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00613/1.617, allocations: 3.354 MB / 0.9343 GB, free: 103.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.01e-07/1.617, allocations: 0 / 0.9343 GB, free: 103.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.009804/1.627, allocations: 2.66 MB / 0.9369 GB, free: 100.9 MB / 0.6387 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 (128): * Single equations (assignments): 119 * 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 {(10,3), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00233/1.629, allocations: 0.5096 MB / 0.9374 GB, free: 100.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01691/1.646, allocations: 7.449 MB / 0.9446 GB, free: 93.01 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.646, allocations: 0 / 0.9446 GB, free: 93.01 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005441/1.651, allocations: 2.457 MB / 0.947 GB, free: 90.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01508/1.667, allocations: 2.731 MB / 0.9497 GB, free: 87.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/1.686, allocations: 11.8 MB / 0.9612 GB, free: 76.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003209/1.689, allocations: 3.229 MB / 0.9644 GB, free: 72.84 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006989/1.696, allocations: 1.712 MB / 0.966 GB, free: 71.14 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/1.697, allocations: 347.3 kB / 0.9664 GB, free: 70.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.233e-06/1.698, allocations: 0 / 0.9664 GB, free: 70.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.4165/2.114, allocations: 108.9 MB / 1.073 GB, free: 223.9 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)