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.001001/0.001007, allocations: 98.88 kB / 16.02 MB, free: 76 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.00113/0.00113, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.32/1.32, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.907/0.907, allocations: 135.3 MB / 427.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 8 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.158, allocations: 82.31 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.3608/0.5188, allocations: 78.5 MB / 0.6653 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.028/0.5468, allocations: 19.1 MB / 0.6839 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004528/0.5514, allocations: 91.91 kB / 0.684 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003778/0.5552, allocations: 0.9722 MB / 0.685 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009089/0.5643, allocations: 2.591 MB / 0.6875 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006904/0.5712, allocations: 2.161 MB / 0.6896 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0274/0.5987, allocations: 20.75 MB / 0.7099 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009854/0.6086, allocations: 6.021 MB / 0.7157 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01217/0.6208, allocations: 4.669 MB / 0.7203 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.6314, allocations: 4.839 MB / 0.725 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001941/0.6334, allocations: 264 kB / 0.7253 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007183/0.6406, allocations: 1.486 MB / 0.7267 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003289/0.6439, allocations: 1.26 MB / 0.728 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007855/0.6518, allocations: 2.901 MB / 0.7308 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.6623, allocations: 6.847 MB / 0.7375 GB, free: 3.688 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.6623, allocations: 0 / 0.7375 GB, free: 3.688 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.407e-06/0.6624, allocations: 0 / 0.7375 GB, free: 3.688 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003628/0.6627, allocations: 0 / 0.7375 GB, free: 3.688 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.01412/0.6769, allocations: 5.352 MB / 0.7427 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.6769, allocations: 8.031 kB / 0.7427 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.6818, allocations: 0.8523 MB / 0.7435 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/0.6942, allocations: 5.267 MB / 0.7487 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000321/0.6945, allocations: 255.1 kB / 0.7489 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.6959, allocations: 340 kB / 0.7492 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/0.7091, allocations: 5.717 MB / 0.7548 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.7093, allocations: 7.938 kB / 0.7548 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001088/0.7104, allocations: 140 kB / 0.755 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.7105, allocations: 129.9 kB / 0.7551 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.722, allocations: 5.546 MB / 0.7605 GB, free: 11.66 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.0379/0.76, allocations: 23.94 MB / 0.7839 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005102/0.7651, allocations: 2.784 MB / 0.7866 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003031/0.7682, allocations: 1.909 MB / 0.7885 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01298/0.7812, allocations: 7.081 MB / 0.7954 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00316/0.7844, allocations: 1.933 MB / 0.7973 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004424/0.7888, allocations: 1.25 MB / 0.7985 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=156): time 1.237e-05/0.7889, allocations: 0 / 0.7985 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=156): time 0.02189/0.8108, allocations: 7.616 MB / 0.8059 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.8109, allocations: 76.59 kB / 0.806 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008765/0.8196, allocations: 4.898 MB / 0.8108 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005958/0.8203, allocations: 61.7 kB / 0.8109 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002732/0.823, allocations: 2.451 MB / 0.8132 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/0.8241, allocations: 0.5548 MB / 0.8138 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006897/0.8248, allocations: 219 kB / 0.814 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8249, allocations: 309.1 kB / 0.8143 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003277/0.8282, allocations: 1.672 MB / 0.8159 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004188/0.8324, allocations: 2.871 MB / 0.8187 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00735/0.8398, allocations: 4.589 MB / 0.8232 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.201e-05/0.8399, allocations: 8 kB / 0.8232 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01329/0.8532, allocations: 6.098 MB / 0.8292 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009416/0.8542, allocations: 1.096 MB / 0.8302 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-05/0.8542, allocations: 36 kB / 0.8303 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0739/0.9282, allocations: 11.9 MB / 0.8419 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00309/0.9313, allocations: 0.663 MB / 0.8425 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008631/0.94, allocations: 5.034 MB / 0.8475 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005203/0.9452, allocations: 335.7 kB / 0.8478 GB, free: 15.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007742/0.946, allocations: 163.9 kB / 0.8479 GB, free: 14.94 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.9461, allocations: 0 / 0.8479 GB, free: 14.94 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01024/0.9563, allocations: 5.345 MB / 0.8532 GB, free: 9.578 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-05/0.9564, allocations: 32.33 kB / 0.8532 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3676/1.324, allocations: 11.67 MB / 0.8646 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/1.327, allocations: 0.6593 MB / 0.8652 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/1.337, allocations: 8.036 MB / 0.8731 GB, free: 199.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004976/1.342, allocations: 321 kB / 0.8734 GB, free: 199.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007462/1.343, allocations: 161.5 kB / 0.8735 GB, free: 199.3 MB / 0.67 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.003699/1.347, allocations: 1.548 MB / 0.875 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.348, allocations: 464.1 kB / 0.8755 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008354/1.357, allocations: 4.849 MB / 0.8802 GB, free: 198.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/1.357, allocations: 26.27 kB / 0.8802 GB, free: 198.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.357, allocations: 0 / 0.8802 GB, free: 198.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01898/1.376, allocations: 7.041 MB / 0.8871 GB, free: 195.2 MB / 0.67 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.03439/1.41, allocations: 13.18 MB / 0.9 GB, free: 190.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/1.41, allocations: 0.8438 kB / 0.9 GB, free: 190.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002653/1.413, allocations: 375.1 kB / 0.9004 GB, free: 190.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07242/1.485, allocations: 11.89 MB / 0.912 GB, free: 189.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005438/1.486, allocations: 42.62 kB / 0.912 GB, free: 189.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006721/1.493, allocations: 4.377 MB / 0.9163 GB, free: 187 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.493, allocations: 8.656 kB / 0.9163 GB, free: 186.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02599/1.519, allocations: 9.693 MB / 0.9258 GB, free: 183.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00314/1.522, allocations: 1.068 MB / 0.9268 GB, free: 182.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/1.523, allocations: 31.88 kB / 0.9268 GB, free: 182.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004102/1.527, allocations: 273 kB / 0.9271 GB, free: 182.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004718/1.528, allocations: 108.2 kB / 0.9272 GB, free: 182.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003805/1.528, allocations: 85.77 kB / 0.9273 GB, free: 182.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006082/1.534, allocations: 3.353 MB / 0.9305 GB, free: 180.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.81e-07/1.534, allocations: 0 / 0.9305 GB, free: 180.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009969/1.544, allocations: 2.664 MB / 0.9331 GB, free: 180.6 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 (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.001779/1.546, allocations: 0.5049 MB / 0.9336 GB, free: 180.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01595/1.562, allocations: 7.493 MB / 0.941 GB, free: 174.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.562, allocations: 0 / 0.941 GB, free: 174.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005678/1.568, allocations: 2.517 MB / 0.9434 GB, free: 172.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01525/1.583, allocations: 2.713 MB / 0.9461 GB, free: 169.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/1.601, allocations: 11.98 MB / 0.9578 GB, free: 157.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003064/1.604, allocations: 3.205 MB / 0.9609 GB, free: 154.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/1.606, allocations: 371.2 kB / 0.9612 GB, free: 154 MB / 0.67 GB Notification: Performance of SimCode: time 9.62e-07/1.606, allocations: 0 / 0.9612 GB, free: 154 MB / 0.67 GB Notification: Performance of Templates: time 0.4097/2.016, allocations: 162.5 MB / 1.12 GB, free: 188 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)