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.006259/0.006259, allocations: 99.5 kB / 15.73 MB, free: 6.059 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.001241/0.001241, allocations: 192.8 kB / 16.67 MB, free: 5.977 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7778/0.7778, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 69.05 kB / 0.5813 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1711, allocations: 80.21 MB / 0.6596 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.07389/0.245, allocations: 80.54 MB / 0.7383 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4232/0.6683, allocations: 19.22 MB / 0.7571 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004645/0.673, allocations: 110.6 kB / 0.7572 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003538/0.6765, allocations: 1.151 MB / 0.7583 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008581/0.6852, allocations: 2.776 MB / 0.761 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006485/0.6917, allocations: 2.413 MB / 0.7634 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01828/0.71, allocations: 15.5 MB / 0.7785 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00971/0.7197, allocations: 7.22 MB / 0.7856 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01273/0.7325, allocations: 5.865 MB / 0.7913 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009504/0.742, allocations: 5.06 MB / 0.7962 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002144/0.7442, allocations: 0.5398 MB / 0.7968 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007066/0.7512, allocations: 1.796 MB / 0.7985 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003081/0.7543, allocations: 1.618 MB / 0.8001 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.007923/0.7623, allocations: 3.29 MB / 0.8033 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0153/0.7776, allocations: 9.113 MB / 0.8122 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7776, allocations: 4 kB / 0.8122 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7776, allocations: 0 / 0.8122 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003202/0.778, allocations: 4 kB / 0.8122 GB, free: 9.676 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.01787/0.7959, allocations: 6.662 MB / 0.8187 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.7959, allocations: 12.03 kB / 0.8187 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003917/0.7998, allocations: 0.8512 MB / 0.8196 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.8103, allocations: 5.385 MB / 0.8248 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/0.8106, allocations: 257.3 kB / 0.8251 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/0.8117, allocations: 336 kB / 0.8254 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.8218, allocations: 5.714 MB / 0.831 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.61e-05/0.8219, allocations: 15.81 kB / 0.831 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004184/0.8224, allocations: 140 kB / 0.8311 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.105e-05/0.8225, allocations: 121.9 kB / 0.8312 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008643/0.8311, allocations: 5.515 MB / 0.8366 GB, free: 488 kB / 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.03463/0.8658, allocations: 23.72 MB / 0.8598 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0046/0.8704, allocations: 2.748 MB / 0.8625 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002729/0.8731, allocations: 1.904 MB / 0.8643 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/0.8848, allocations: 7.091 MB / 0.8712 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003077/0.8879, allocations: 1.914 MB / 0.8731 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003237/0.8911, allocations: 0.7166 MB / 0.8738 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=155): time 8.315e-06/0.8912, allocations: 0 / 0.8738 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=155): time 0.02358/0.9147, allocations: 7.945 MB / 0.8816 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.9148, allocations: 68.72 kB / 0.8816 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007784/0.9226, allocations: 5.013 MB / 0.8865 GB, free: 12.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006423/0.9233, allocations: 73.7 kB / 0.8866 GB, free: 12.22 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002431/0.9257, allocations: 2.498 MB / 0.889 GB, free: 9.719 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.9268, allocations: 0.5738 MB / 0.8896 GB, free: 9.152 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.9279, allocations: 0.6688 MB / 0.8902 GB, free: 8.477 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.928, allocations: 309 kB / 0.8905 GB, free: 8.172 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/0.9309, allocations: 1.72 MB / 0.8922 GB, free: 6.445 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003698/0.9346, allocations: 2.908 MB / 0.8951 GB, free: 2.984 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006397/0.9411, allocations: 4.676 MB / 0.8996 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.9411, allocations: 12 kB / 0.8996 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01187/0.953, allocations: 6.327 MB / 0.9058 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.953, allocations: 49.69 kB / 0.9059 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-05/0.9531, allocations: 32 kB / 0.9059 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07391/1.027, allocations: 13.54 MB / 0.9191 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00312/1.03, allocations: 0.6551 MB / 0.9198 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/1.04, allocations: 5.483 MB / 0.9251 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/1.045, allocations: 216.5 kB / 0.9253 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006169/1.046, allocations: 199.8 kB / 0.9255 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005283/1.051, allocations: 2.956 MB / 0.9284 GB, free: 368 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003556/1.054, allocations: 2.842 MB / 0.9312 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006207/1.061, allocations: 4.545 MB / 0.9356 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.748e-05/1.061, allocations: 15.94 kB / 0.9356 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.01123/1.072, allocations: 6.009 MB / 0.9415 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.494e-05/1.072, allocations: 49.69 kB / 0.9415 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.868e-05/1.072, allocations: 32.88 kB / 0.9416 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0731/1.145, allocations: 13.31 MB / 0.9546 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/1.148, allocations: 0.6357 MB / 0.9552 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.162, allocations: 8.921 MB / 0.9639 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004441/1.166, allocations: 220.7 kB / 0.9641 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005741/1.167, allocations: 191.8 kB / 0.9643 GB, free: 10.3 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.001097/1.168, allocations: 370.8 kB / 0.9646 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001798/1.17, allocations: 492.8 kB / 0.9651 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009441/1.179, allocations: 4.566 MB / 0.9696 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/1.179, allocations: 16 kB / 0.9696 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.179, allocations: 3.938 kB / 0.9696 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0107/1.19, allocations: 5.63 MB / 0.9751 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0285/1.218, allocations: 10.73 MB / 0.9856 GB, free: 4.199 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/1.218, allocations: 3.938 kB / 0.9856 GB, free: 4.195 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/1.221, allocations: 367.6 kB / 0.9859 GB, free: 3.836 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06588/1.287, allocations: 11.71 MB / 0.9974 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005415/1.287, allocations: 47.97 kB / 0.9974 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006456/1.294, allocations: 3.548 MB / 1.001 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.294, allocations: 4 kB / 1.001 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02459/1.318, allocations: 8.44 MB / 1.009 GB, free: 12.03 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003513/1.322, allocations: 0.9506 MB / 1.01 GB, free: 11.05 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001743/1.324, allocations: 35.94 kB / 1.01 GB, free: 11.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0042/1.328, allocations: 135.8 kB / 1.01 GB, free: 10.89 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005007/1.328, allocations: 109.8 kB / 1.01 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004127/1.329, allocations: 83.92 kB / 1.01 GB, free: 10.7 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.007526/1.336, allocations: 3.436 MB / 1.014 GB, free: 7.281 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.21e-07/1.336, allocations: 0 / 1.014 GB, free: 7.281 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01196/1.348, allocations: 2.652 MB / 1.016 GB, free: 4.625 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.001928/1.35, allocations: 0.5304 MB / 1.017 GB, free: 4.129 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0196/1.37, allocations: 7.409 MB / 1.024 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.37, allocations: 0 / 1.024 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006182/1.376, allocations: 2.304 MB / 1.026 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01552/1.392, allocations: 2.706 MB / 1.029 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/1.413, allocations: 10.11 MB / 1.039 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/1.417, allocations: 3.237 MB / 1.042 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005379/1.423, allocations: 1.654 MB / 1.044 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/1.424, allocations: 355.2 kB / 1.044 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of SimCode: time 7.61e-07/1.424, allocations: 3.938 kB / 1.044 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of Templates: time 0.5363/1.96, allocations: 111.6 MB / 1.153 GB, free: 240 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)