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.009062/0.009062, allocations: 97.22 kB / 15.73 MB, free: 6.055 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.002034/0.002034, allocations: 202.7 kB / 16.68 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.6 MB / 426.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.89 kB / 0.5862 GB, free: 2.762 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4857, allocations: 81.03 MB / 0.6653 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.08669/0.5724, allocations: 80.54 MB / 0.744 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03252/0.605, allocations: 19.22 MB / 0.7627 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004639/0.6096, allocations: 107.4 kB / 0.7628 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004222/0.6139, allocations: 1.16 MB / 0.764 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009104/0.6231, allocations: 2.774 MB / 0.7667 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006683/0.6298, allocations: 2.413 MB / 0.769 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01978/0.6496, allocations: 15.51 MB / 0.7842 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01117/0.6608, allocations: 7.221 MB / 0.7912 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01366/0.6745, allocations: 5.853 MB / 0.797 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009927/0.6844, allocations: 5.058 MB / 0.8019 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002647/0.6871, allocations: 0.5391 MB / 0.8024 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006766/0.6939, allocations: 1.795 MB / 0.8042 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003217/0.6972, allocations: 1.62 MB / 0.8058 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00643/0.7036, allocations: 3.293 MB / 0.809 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.7175, allocations: 9.115 MB / 0.8179 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7176, allocations: 0 / 0.8179 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7176, allocations: 0 / 0.8179 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002611/0.7178, allocations: 0 / 0.8179 GB, free: 4.27 MB / 0.6387 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.01648/0.7343, allocations: 6.664 MB / 0.8244 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.7344, allocations: 8.031 kB / 0.8244 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00457/0.739, allocations: 0.8512 MB / 0.8252 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/0.7521, allocations: 5.395 MB / 0.8305 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.7524, allocations: 254.5 kB / 0.8307 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.7536, allocations: 348 kB / 0.8311 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.7671, allocations: 5.691 MB / 0.8366 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-05/0.7673, allocations: 11.88 kB / 0.8366 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008123/0.7681, allocations: 151.9 kB / 0.8368 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001508/0.7682, allocations: 117.9 kB / 0.8369 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.7813, allocations: 5.522 MB / 0.8423 GB, free: 10.83 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 preOpt removeSimpleEquations (simulation): time 0.04256/0.8239, allocations: 23.71 MB / 0.8654 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3525/1.177, allocations: 2.743 MB / 0.8681 GB, free: 180 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003554/1.18, allocations: 1.899 MB / 0.87 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/1.192, allocations: 7.09 MB / 0.8769 GB, free: 175.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00328/1.196, allocations: 1.918 MB / 0.8788 GB, free: 175.3 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003438/1.199, allocations: 0.7133 MB / 0.8795 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=155): time 1.158e-05/1.199, allocations: 3.969 kB / 0.8795 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=155): time 0.02341/1.223, allocations: 7.948 MB / 0.8872 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/1.223, allocations: 68.12 kB / 0.8873 GB, free: 171.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007398/1.23, allocations: 5.019 MB / 0.8922 GB, free: 169 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006682/1.231, allocations: 62.95 kB / 0.8923 GB, free: 169 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001958/1.233, allocations: 2.502 MB / 0.8947 GB, free: 167.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009098/1.234, allocations: 0.5781 MB / 0.8953 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/1.235, allocations: 0.6738 MB / 0.8959 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.811e-05/1.235, allocations: 305.1 kB / 0.8962 GB, free: 166 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002527/1.237, allocations: 1.713 MB / 0.8979 GB, free: 165.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003073/1.24, allocations: 2.913 MB / 0.9007 GB, free: 162.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005691/1.246, allocations: 4.679 MB / 0.9053 GB, free: 159.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.61e-05/1.246, allocations: 9.578 kB / 0.9053 GB, free: 159.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0109/1.257, allocations: 6.331 MB / 0.9115 GB, free: 156 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.587e-05/1.257, allocations: 45.45 kB / 0.9115 GB, free: 156 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.966e-05/1.257, allocations: 34.09 kB / 0.9116 GB, free: 156 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07615/1.333, allocations: 13.54 MB / 0.9248 GB, free: 145.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/1.336, allocations: 0.6512 MB / 0.9254 GB, free: 144.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009131/1.346, allocations: 5.479 MB / 0.9308 GB, free: 138.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004819/1.351, allocations: 212.5 kB / 0.931 GB, free: 138.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007893/1.351, allocations: 199 kB / 0.9312 GB, free: 138.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004731/1.356, allocations: 2.968 MB / 0.9341 GB, free: 135.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002834/1.359, allocations: 2.84 MB / 0.9368 GB, free: 132.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005646/1.365, allocations: 4.548 MB / 0.9413 GB, free: 127.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.032e-05/1.365, allocations: 12 kB / 0.9413 GB, free: 127.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.01184/1.377, allocations: 6.015 MB / 0.9472 GB, free: 121.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.242e-05/1.377, allocations: 49.7 kB / 0.9472 GB, free: 121.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.881e-05/1.377, allocations: 32 kB / 0.9473 GB, free: 121 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07634/1.453, allocations: 13.31 MB / 0.9602 GB, free: 107.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/1.456, allocations: 0.6474 MB / 0.9609 GB, free: 107.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/1.467, allocations: 8.915 MB / 0.9696 GB, free: 97.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/1.472, allocations: 217 kB / 0.9698 GB, free: 97.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005495/1.472, allocations: 191.8 kB / 0.97 GB, free: 97.49 MB / 0.6856 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.001027/1.473, allocations: 360.7 kB / 0.9703 GB, free: 97.13 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001587/1.475, allocations: 496.8 kB / 0.9708 GB, free: 96.64 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008345/1.483, allocations: 4.571 MB / 0.9753 GB, free: 92.05 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/1.483, allocations: 19.94 kB / 0.9753 GB, free: 92.04 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.483, allocations: 0 / 0.9753 GB, free: 92.04 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009467/1.493, allocations: 5.625 MB / 0.9808 GB, free: 86.16 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/1.518, allocations: 10.71 MB / 0.9912 GB, free: 75.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/1.518, allocations: 0 / 0.9912 GB, free: 75.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002207/1.521, allocations: 371.6 kB / 0.9916 GB, free: 75.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06718/1.588, allocations: 11.7 MB / 1.003 GB, free: 63.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004788/1.588, allocations: 43.97 kB / 1.003 GB, free: 63.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005734/1.594, allocations: 3.566 MB / 1.007 GB, free: 59.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.594, allocations: 7.938 kB / 1.007 GB, free: 59.71 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02233/1.617, allocations: 8.423 MB / 1.015 GB, free: 51.26 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00324/1.62, allocations: 0.9467 MB / 1.016 GB, free: 50.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/1.621, allocations: 35.94 kB / 1.016 GB, free: 50.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003675/1.625, allocations: 139.8 kB / 1.016 GB, free: 50.12 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004975/1.625, allocations: 105.8 kB / 1.016 GB, free: 50.01 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003705/1.626, allocations: 87.92 kB / 1.016 GB, free: 49.93 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.005819/1.632, allocations: 3.436 MB / 1.019 GB, free: 46.51 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.31e-07/1.632, allocations: 0 / 1.019 GB, free: 46.51 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.008885/1.641, allocations: 2.648 MB / 1.022 GB, free: 43.86 MB / 0.6856 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.001447/1.642, allocations: 0.5441 MB / 1.023 GB, free: 43.35 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01656/1.659, allocations: 7.415 MB / 1.03 GB, free: 35.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.659, allocations: 4 kB / 1.03 GB, free: 35.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005414/1.664, allocations: 2.296 MB / 1.032 GB, free: 33.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01281/1.677, allocations: 2.71 MB / 1.035 GB, free: 30.96 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/1.693, allocations: 10.11 MB / 1.045 GB, free: 20.81 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002796/1.695, allocations: 3.237 MB / 1.048 GB, free: 17.54 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005256/1.701, allocations: 1.654 MB / 1.049 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.702, allocations: 355.2 kB / 1.05 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of SimCode: time 8.11e-07/1.702, allocations: 0 / 1.05 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of Templates: time 0.1847/1.887, allocations: 111.6 MB / 1.159 GB, free: 0.7422 MB / 0.7794 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)