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.001352/0.001358, allocations: 105.2 kB / 16.41 MB, free: 6.457 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.001097/0.001097, allocations: 187 kB / 17.34 MB, free: 5.719 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7999/0.7999, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 71.11 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1516, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.08656/0.2382, allocations: 80.54 MB / 0.739 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4255/0.6638, allocations: 19.21 MB / 0.7577 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004379/0.6682, allocations: 106.8 kB / 0.7578 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00409/0.6724, allocations: 1.154 MB / 0.7589 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009104/0.6815, allocations: 2.785 MB / 0.7617 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007905/0.6894, allocations: 2.407 MB / 0.764 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02072/0.7102, allocations: 15.51 MB / 0.7792 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.7221, allocations: 7.221 MB / 0.7862 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01544/0.7376, allocations: 5.978 MB / 0.7921 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0109/0.7486, allocations: 5.054 MB / 0.797 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002889/0.7515, allocations: 0.5388 MB / 0.7975 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008726/0.7602, allocations: 1.804 MB / 0.7993 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003603/0.7639, allocations: 1.626 MB / 0.8009 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.008614/0.7725, allocations: 3.284 MB / 0.8041 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01609/0.7886, allocations: 9.084 MB / 0.8129 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.7887, allocations: 0 / 0.8129 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7887, allocations: 0 / 0.8129 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003601/0.7891, allocations: 0 / 0.8129 GB, free: 9.578 MB / 0.5919 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.01999/0.8091, allocations: 6.478 MB / 0.8193 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.8092, allocations: 8.031 kB / 0.8193 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005477/0.8146, allocations: 0.8244 MB / 0.8201 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/0.8285, allocations: 5.346 MB / 0.8253 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.8289, allocations: 258.5 kB / 0.8255 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001483/0.8304, allocations: 350.9 kB / 0.8259 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/0.8422, allocations: 5.699 MB / 0.8314 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.375e-05/0.8424, allocations: 7.938 kB / 0.8315 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005843/0.8429, allocations: 144 kB / 0.8316 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.8431, allocations: 125.9 kB / 0.8317 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.854, allocations: 5.519 MB / 0.8371 GB, free: 0.6055 MB / 0.6075 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.04234/0.8963, allocations: 23.66 MB / 0.8602 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005522/0.9019, allocations: 2.752 MB / 0.8629 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003186/0.9051, allocations: 1.898 MB / 0.8648 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01524/0.9204, allocations: 7.089 MB / 0.8717 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003558/0.924, allocations: 1.91 MB / 0.8735 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003812/0.9279, allocations: 0.7031 MB / 0.8742 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=155): time 1.518e-05/0.9279, allocations: 0 / 0.8742 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of matching and sorting (n=155): time 0.02695/0.9549, allocations: 7.947 MB / 0.882 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.955, allocations: 68.72 kB / 0.8821 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/0.966, allocations: 5.012 MB / 0.8869 GB, free: 12.51 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008237/0.9669, allocations: 65.7 kB / 0.887 GB, free: 12.44 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003159/0.9701, allocations: 2.455 MB / 0.8894 GB, free: 9.969 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001404/0.9715, allocations: 0.5435 MB / 0.8899 GB, free: 9.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002292/0.9738, allocations: 0.672 MB / 0.8906 GB, free: 8.754 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.974, allocations: 309.1 kB / 0.8909 GB, free: 8.449 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003377/0.9773, allocations: 1.714 MB / 0.8926 GB, free: 6.727 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004301/0.9817, allocations: 2.905 MB / 0.8954 GB, free: 3.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007771/0.9895, allocations: 4.683 MB / 0.9 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-05/0.9896, allocations: 12 kB / 0.9 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01434/1.004, allocations: 6.3 MB / 0.9061 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.234e-05/1.004, allocations: 45.7 kB / 0.9062 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.975e-05/1.004, allocations: 36 kB / 0.9062 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07974/1.084, allocations: 13.54 MB / 0.9194 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003105/1.087, allocations: 0.6435 MB / 0.9201 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/1.098, allocations: 5.48 MB / 0.9254 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005359/1.103, allocations: 220.4 kB / 0.9256 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.104, allocations: 191.8 kB / 0.9258 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008417/1.113, allocations: 2.96 MB / 0.9287 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004621/1.117, allocations: 2.849 MB / 0.9315 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008261/1.126, allocations: 4.544 MB / 0.9359 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.516e-05/1.126, allocations: 11.94 kB / 0.9359 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.0153/1.141, allocations: 5.989 MB / 0.9418 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.8e-05/1.141, allocations: 49.7 kB / 0.9418 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.724e-05/1.141, allocations: 36 kB / 0.9419 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07804/1.22, allocations: 13.3 MB / 0.9549 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003217/1.223, allocations: 0.6474 MB / 0.9555 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/1.238, allocations: 8.908 MB / 0.9642 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005477/1.243, allocations: 220.8 kB / 0.9644 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008815/1.244, allocations: 191.8 kB / 0.9646 GB, free: 10.63 MB / 0.7481 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.001541/1.246, allocations: 367.2 kB / 0.9649 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002339/1.248, allocations: 466.2 kB / 0.9654 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/1.259, allocations: 4.572 MB / 0.9698 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/1.259, allocations: 16 kB / 0.9698 GB, free: 5.207 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.259, allocations: 3.938 kB / 0.9699 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01154/1.271, allocations: 5.624 MB / 0.9753 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03357/1.304, allocations: 10.72 MB / 0.9858 GB, free: 4.562 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-05/1.304, allocations: 3.938 kB / 0.9858 GB, free: 4.559 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/1.307, allocations: 367.6 kB / 0.9862 GB, free: 4.199 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06868/1.376, allocations: 11.72 MB / 0.9976 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000615/1.376, allocations: 51.95 kB / 0.9977 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006708/1.383, allocations: 3.544 MB / 1.001 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.383, allocations: 4 kB / 1.001 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0251/1.408, allocations: 8.41 MB / 1.009 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003856/1.412, allocations: 0.9208 MB / 1.01 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001856/1.414, allocations: 35.94 kB / 1.01 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004003/1.418, allocations: 139.7 kB / 1.01 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005631/1.418, allocations: 113.8 kB / 1.011 GB, free: 11.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004664/1.419, allocations: 87.94 kB / 1.011 GB, free: 11.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00733/1.426, allocations: 3.444 MB / 1.014 GB, free: 7.672 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.6e-07/1.426, allocations: 0 / 1.014 GB, free: 7.672 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01124/1.438, allocations: 2.624 MB / 1.017 GB, free: 5.043 MB / 0.795 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.002047/1.44, allocations: 0.526 MB / 1.017 GB, free: 4.555 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02138/1.461, allocations: 7.398 MB / 1.024 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/1.461, allocations: 4.375 kB / 1.024 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006663/1.468, allocations: 2.289 MB / 1.027 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01628/1.484, allocations: 2.707 MB / 1.029 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02233/1.507, allocations: 10.05 MB / 1.039 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004352/1.511, allocations: 3.217 MB / 1.042 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/1.513, allocations: 379.2 kB / 1.042 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of SimCode: time 9.52e-07/1.513, allocations: 0 / 1.042 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.558/2.071, allocations: 164 MB / 1.203 GB, free: 186.5 MB / 0.8262 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)