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.001221/0.001221, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001285/0.001285, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 8.812 kB / 0.507 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1732, allocations: 82.31 MB / 0.5874 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.3622/0.5354, allocations: 74.13 MB / 0.6598 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02406/0.5595, allocations: 18 MB / 0.6773 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005545/0.5651, allocations: 93.16 kB / 0.6774 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004387/0.5695, allocations: 0.782 MB / 0.6782 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008745/0.5783, allocations: 2.283 MB / 0.6804 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007073/0.5854, allocations: 1.793 MB / 0.6822 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0279/0.6133, allocations: 17.47 MB / 0.6992 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01479/0.6282, allocations: 5.282 MB / 0.7044 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01349/0.6417, allocations: 4.633 MB / 0.7089 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01113/0.6529, allocations: 4.597 MB / 0.7134 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002215/0.6551, allocations: 263 kB / 0.7136 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007292/0.6625, allocations: 1.208 MB / 0.7148 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003443/0.6659, allocations: 1.22 MB / 0.716 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004941/0.6709, allocations: 1.109 MB / 0.7171 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.6828, allocations: 6.823 MB / 0.7238 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6828, allocations: 0 / 0.7238 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6828, allocations: 0 / 0.7238 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003637/0.6832, allocations: 0 / 0.7238 GB, free: 0.9102 MB / 0.5294 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.01604/0.6992, allocations: 5.423 MB / 0.7291 GB, free: 11.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6993, allocations: 8.031 kB / 0.7291 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005124/0.7044, allocations: 0.844 MB / 0.7299 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/0.7168, allocations: 5.088 MB / 0.7349 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.7172, allocations: 267.1 kB / 0.7351 GB, free: 5.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/0.7186, allocations: 343.9 kB / 0.7354 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/0.7318, allocations: 5.705 MB / 0.741 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.7319, allocations: 11.88 kB / 0.741 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001001/0.733, allocations: 148 kB / 0.7412 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.7331, allocations: 114 kB / 0.7413 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/0.7436, allocations: 5.562 MB / 0.7467 GB, free: 8.988 MB / 0.5606 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.03929/0.7829, allocations: 24.02 MB / 0.7702 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005468/0.7884, allocations: 2.812 MB / 0.7729 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003301/0.7918, allocations: 1.925 MB / 0.7748 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0163/0.8081, allocations: 7.155 MB / 0.7818 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003805/0.812, allocations: 1.953 MB / 0.7837 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004763/0.8168, allocations: 1.247 MB / 0.7849 GB, free: 424 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=156): time 1.316e-05/0.8168, allocations: 0 / 0.7849 GB, free: 424 kB / 0.5919 GB Notification: Performance of matching and sorting (n=156): time 0.02055/0.8374, allocations: 7.621 MB / 0.7923 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.8375, allocations: 72.7 kB / 0.7924 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/0.848, allocations: 4.89 MB / 0.7972 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0007358/0.8487, allocations: 65.7 kB / 0.7973 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003091/0.8519, allocations: 2.459 MB / 0.7997 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001241/0.8531, allocations: 0.5586 MB / 0.8002 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005469/0.8537, allocations: 55.94 kB / 0.8003 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003108/0.854, allocations: 411.3 kB / 0.8006 GB, free: 176 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003318/0.8573, allocations: 1.645 MB / 0.8023 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004105/0.8615, allocations: 2.851 MB / 0.805 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003855/0.8653, allocations: 2.092 MB / 0.8071 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.914e-05/0.8654, allocations: 8 kB / 0.8071 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01285/0.8782, allocations: 5.989 MB / 0.8129 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009446/0.8792, allocations: 1.104 MB / 0.814 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-05/0.8793, allocations: 40 kB / 0.8141 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0604/0.9397, allocations: 11.88 MB / 0.8257 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/0.943, allocations: 0.6708 MB / 0.8263 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008281/0.9513, allocations: 5.03 MB / 0.8312 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004981/0.9564, allocations: 355.9 kB / 0.8316 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006379/0.957, allocations: 163.9 kB / 0.8317 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.957, allocations: 7.938 kB / 0.8317 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009904/0.967, allocations: 5.333 MB / 0.8369 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.615e-05/0.9671, allocations: 35.94 kB / 0.837 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05875/1.026, allocations: 11.69 MB / 0.8484 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/1.029, allocations: 0.6513 MB / 0.849 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/1.041, allocations: 8.084 MB / 0.8569 GB, free: 5.047 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00498/1.046, allocations: 327.8 kB / 0.8572 GB, free: 4.727 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007088/1.047, allocations: 159.9 kB / 0.8574 GB, free: 4.57 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.003875/1.051, allocations: 1.55 MB / 0.8589 GB, free: 3.008 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001735/1.052, allocations: 462.3 kB / 0.8593 GB, free: 2.551 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4022/1.454, allocations: 4.868 MB / 0.8641 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.435e-05/1.455, allocations: 19.16 kB / 0.8641 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/1.455, allocations: 4.328 kB / 0.8641 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0187/1.473, allocations: 7.079 MB / 0.871 GB, free: 202.3 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.0323/1.506, allocations: 13.23 MB / 0.8839 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-05/1.506, allocations: 0 / 0.8839 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002462/1.508, allocations: 376 kB / 0.8843 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06097/1.569, allocations: 11.9 MB / 0.8959 GB, free: 196.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006413/1.57, allocations: 52.12 kB / 0.896 GB, free: 196.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007153/1.577, allocations: 4.359 MB / 0.9002 GB, free: 194.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.577, allocations: 1.375 kB / 0.9002 GB, free: 194.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02515/1.602, allocations: 9.749 MB / 0.9098 GB, free: 191 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003587/1.606, allocations: 1.075 MB / 0.9108 GB, free: 190.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/1.608, allocations: 37.81 kB / 0.9108 GB, free: 190.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00422/1.612, allocations: 287.8 kB / 0.9111 GB, free: 190.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003991/1.612, allocations: 101.3 kB / 0.9112 GB, free: 190.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003974/1.613, allocations: 78.92 kB / 0.9113 GB, free: 190.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008514/1.621, allocations: 3.347 MB / 0.9146 GB, free: 189.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.01e-07/1.621, allocations: 0 / 0.9146 GB, free: 189.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0142/1.635, allocations: 2.683 MB / 0.9172 GB, free: 189.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002024/1.637, allocations: 0.4926 MB / 0.9177 GB, free: 189 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01761/1.655, allocations: 7.471 MB / 0.925 GB, free: 186.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.655, allocations: 4.906 kB / 0.925 GB, free: 186.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005456/1.661, allocations: 2.527 MB / 0.9274 GB, free: 184.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01427/1.675, allocations: 2.765 MB / 0.9301 GB, free: 183.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/1.695, allocations: 11.5 MB / 0.9414 GB, free: 173.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003678/1.699, allocations: 3.225 MB / 0.9445 GB, free: 170.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007074/1.706, allocations: 1.666 MB / 0.9461 GB, free: 169 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001713/1.708, allocations: 355.2 kB / 0.9465 GB, free: 168.6 MB / 0.67 GB Notification: Performance of SimCode: time 7.91e-07/1.708, allocations: 0 / 0.9465 GB, free: 168.6 MB / 0.67 GB Notification: Performance of Templates: time 0.1439/1.851, allocations: 105.9 MB / 1.05 GB, free: 63.6 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)