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.001136/0.001136, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.00111/0.00111, allocations: 197.9 kB / 16.91 MB, free: 6.195 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.281/1.281, allocations: 222.9 MB / 240.6 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7763/0.7763, allocations: 132.2 MB / 422.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 55.91 kB / 0.5019 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3685, allocations: 80.19 MB / 0.5802 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.06312/0.4316, allocations: 79.84 MB / 0.6582 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02611/0.4578, allocations: 19.08 MB / 0.6768 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004412/0.4622, allocations: 99.38 kB / 0.6769 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00374/0.466, allocations: 1.011 MB / 0.6779 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007905/0.474, allocations: 2.572 MB / 0.6804 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00562/0.4796, allocations: 2.207 MB / 0.6826 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01618/0.4958, allocations: 15.6 MB / 0.6978 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008986/0.5048, allocations: 7.17 MB / 0.7048 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01382/0.5187, allocations: 5.923 MB / 0.7106 GB, free: 8.617 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009618/0.5283, allocations: 5.206 MB / 0.7157 GB, free: 3.391 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001953/0.5303, allocations: 0.539 MB / 0.7162 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005751/0.5361, allocations: 1.799 MB / 0.7179 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002521/0.5386, allocations: 1.628 MB / 0.7195 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006382/0.5451, allocations: 3.293 MB / 0.7227 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008604/0.5537, allocations: 7.083 MB / 0.7297 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5537, allocations: 0 / 0.7297 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5537, allocations: 0 / 0.7297 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002767/0.554, allocations: 0 / 0.7297 GB, free: 5.012 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.01463/0.5687, allocations: 6.482 MB / 0.736 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.5687, allocations: 12.03 kB / 0.736 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/0.5724, allocations: 0.8207 MB / 0.7368 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/0.5827, allocations: 5.28 MB / 0.742 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.583, allocations: 259.1 kB / 0.7422 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009543/0.5839, allocations: 336 kB / 0.7425 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.5941, allocations: 5.701 MB / 0.7481 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.97e-05/0.5942, allocations: 7.938 kB / 0.7481 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005033/0.5947, allocations: 147.9 kB / 0.7482 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.5948, allocations: 118 kB / 0.7484 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3534/0.9482, allocations: 5.526 MB / 0.7538 GB, free: 152.7 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.0391/0.9874, allocations: 23.76 MB / 0.777 GB, free: 135 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004502/0.9919, allocations: 2.747 MB / 0.7796 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00278/0.9948, allocations: 1.897 MB / 0.7815 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01229/1.007, allocations: 7.046 MB / 0.7884 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002614/1.01, allocations: 1.907 MB / 0.7902 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004464/1.014, allocations: 1.049 MB / 0.7913 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=156): time 1.3e-05/1.014, allocations: 2.531 kB / 0.7913 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=156): time 0.02239/1.037, allocations: 8.043 MB / 0.7991 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/1.037, allocations: 71.06 kB / 0.7992 GB, free: 115.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006519/1.043, allocations: 4.898 MB / 0.804 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007971/1.044, allocations: 73.45 kB / 0.804 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001884/1.046, allocations: 2.461 MB / 0.8064 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/1.047, allocations: 0.5542 MB / 0.807 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000929/1.048, allocations: 0.6685 MB / 0.8076 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.824e-05/1.048, allocations: 301.1 kB / 0.8079 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/1.05, allocations: 1.718 MB / 0.8096 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002778/1.053, allocations: 2.914 MB / 0.8124 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005076/1.058, allocations: 4.679 MB / 0.817 GB, free: 96.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/1.058, allocations: 19.88 kB / 0.817 GB, free: 96.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0145/1.073, allocations: 6.977 MB / 0.8238 GB, free: 89.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.84e-05/1.073, allocations: 57.89 kB / 0.8239 GB, free: 89.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.11e-05/1.073, allocations: 36 kB / 0.8239 GB, free: 89.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07043/1.143, allocations: 13.66 MB / 0.8373 GB, free: 75.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/1.146, allocations: 0.6474 MB / 0.8379 GB, free: 75.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008277/1.154, allocations: 5.542 MB / 0.8433 GB, free: 69.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005103/1.16, allocations: 327.8 kB / 0.8436 GB, free: 69.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006531/1.16, allocations: 195.9 kB / 0.8438 GB, free: 69.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004567/1.165, allocations: 2.968 MB / 0.8467 GB, free: 66.08 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002624/1.167, allocations: 2.85 MB / 0.8495 GB, free: 62.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005075/1.173, allocations: 4.554 MB / 0.8539 GB, free: 57.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.412e-05/1.173, allocations: 8 kB / 0.854 GB, free: 57.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.01389/1.187, allocations: 6.66 MB / 0.8605 GB, free: 50.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/1.187, allocations: 49.7 kB / 0.8605 GB, free: 50.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-05/1.187, allocations: 36 kB / 0.8605 GB, free: 50.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06868/1.255, allocations: 13.41 MB / 0.8736 GB, free: 37.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/1.258, allocations: 0.6396 MB / 0.8743 GB, free: 36.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.27, allocations: 8.976 MB / 0.883 GB, free: 27.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005323/1.275, allocations: 336.3 kB / 0.8833 GB, free: 27.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007301/1.276, allocations: 191.8 kB / 0.8835 GB, free: 27.05 MB / 0.5762 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 (282): * Single equations (assignments): 277 * 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 {(12,15), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0009829/1.277, allocations: 359.3 kB / 0.8839 GB, free: 26.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/1.278, allocations: 466.2 kB / 0.8843 GB, free: 26.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007476/1.286, allocations: 4.615 MB / 0.8888 GB, free: 21.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/1.286, allocations: 16 kB / 0.8888 GB, free: 21.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/1.286, allocations: 0 / 0.8888 GB, free: 21.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005826/1.292, allocations: 5.201 MB / 0.8939 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/1.318, allocations: 11.06 MB / 0.9047 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/1.318, allocations: 4 kB / 0.9047 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/1.32, allocations: 367.6 kB / 0.9051 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06465/1.385, allocations: 11.79 MB / 0.9166 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006333/1.385, allocations: 47.97 kB / 0.9166 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005834/1.391, allocations: 3.542 MB / 0.9201 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.391, allocations: 96 / 0.9201 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/1.404, allocations: 7.398 MB / 0.9273 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003912/1.407, allocations: 0.9246 MB / 0.9282 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/1.409, allocations: 35.98 kB / 0.9283 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00379/1.413, allocations: 251.3 kB / 0.9285 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003604/1.413, allocations: 113.8 kB / 0.9286 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002718/1.413, allocations: 83.92 kB / 0.9287 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.005575/1.419, allocations: 3.35 MB / 0.932 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.72e-07/1.419, allocations: 0 / 0.932 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01007/1.429, allocations: 2.655 MB / 0.9345 GB, free: 6.32 MB / 0.6075 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 (137): * Single equations (assignments): 128 * 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 {(12,5), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001634/1.431, allocations: 0.5143 MB / 0.9351 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02091/1.452, allocations: 8.518 MB / 0.9434 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.452, allocations: 4.938 kB / 0.9434 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005421/1.457, allocations: 2.294 MB / 0.9456 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01264/1.47, allocations: 2.726 MB / 0.9483 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/1.489, allocations: 11.89 MB / 0.9599 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002727/1.492, allocations: 3.217 MB / 0.963 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/1.494, allocations: 375.2 kB / 0.9634 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of SimCode: time 1.022e-06/1.494, allocations: 0 / 0.9634 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of Templates: time 0.5217/2.016, allocations: 162.3 MB / 1.122 GB, free: 125.3 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)