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.001449/0.001449, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.00173/0.001731, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7824/0.7824, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.91 kB / 0.5067 GB, free: 7.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3767, allocations: 80.9 MB / 0.5857 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.07144/0.4482, allocations: 80.54 MB / 0.6644 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02812/0.4763, allocations: 19.22 MB / 0.6832 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003397/0.4798, allocations: 107.4 kB / 0.6833 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.4828, allocations: 1.151 MB / 0.6844 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006906/0.4898, allocations: 2.775 MB / 0.6871 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00558/0.4954, allocations: 2.414 MB / 0.6895 GB, free: 116 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01595/0.5114, allocations: 15.5 MB / 0.7046 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00873/0.5201, allocations: 7.225 MB / 0.7117 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01215/0.5323, allocations: 5.861 MB / 0.7174 GB, free: 3.402 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.5426, allocations: 5.062 MB / 0.7223 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002161/0.5448, allocations: 0.5352 MB / 0.7228 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005836/0.5507, allocations: 1.795 MB / 0.7246 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002612/0.5533, allocations: 1.612 MB / 0.7262 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005545/0.5589, allocations: 3.293 MB / 0.7294 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.5701, allocations: 9.071 MB / 0.7383 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5702, allocations: 0 / 0.7383 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.584e-06/0.5702, allocations: 0 / 0.7383 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002455/0.5704, allocations: 0 / 0.7383 GB, free: 13.96 MB / 0.5762 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.01427/0.5847, allocations: 6.482 MB / 0.7446 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5848, allocations: 13.11 kB / 0.7446 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/0.5885, allocations: 0.8246 MB / 0.7454 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.6001, allocations: 5.345 MB / 0.7506 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.6003, allocations: 258.5 kB / 0.7509 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.6014, allocations: 344 kB / 0.7512 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3081/0.9095, allocations: 5.696 MB / 0.7568 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.399e-05/0.9096, allocations: 15.66 kB / 0.7568 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000482/0.9101, allocations: 146.1 kB / 0.7569 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.9103, allocations: 114 kB / 0.757 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00952/0.9198, allocations: 5.522 MB / 0.7624 GB, free: 148.3 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.0279/0.9478, allocations: 23.68 MB / 0.7855 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/0.9518, allocations: 2.748 MB / 0.7882 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002228/0.954, allocations: 1.893 MB / 0.7901 GB, free: 124 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/0.9644, allocations: 7.086 MB / 0.797 GB, free: 116.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002554/0.967, allocations: 1.912 MB / 0.7989 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003273/0.9703, allocations: 0.7086 MB / 0.7995 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=155): time 1.199e-05/0.9704, allocations: 0 / 0.7995 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=155): time 0.02147/0.9918, allocations: 7.924 MB / 0.8073 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.9919, allocations: 68.72 kB / 0.8074 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007535/0.9995, allocations: 5.019 MB / 0.8123 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005442/1, allocations: 65.53 kB / 0.8123 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001966/1.002, allocations: 2.454 MB / 0.8147 GB, free: 98.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008101/1.003, allocations: 0.5538 MB / 0.8153 GB, free: 98.08 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001308/1.004, allocations: 0.6685 MB / 0.8159 GB, free: 97.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.419e-05/1.004, allocations: 308.8 kB / 0.8162 GB, free: 97.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/1.007, allocations: 1.711 MB / 0.8179 GB, free: 95.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/1.01, allocations: 2.907 MB / 0.8207 GB, free: 91.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005428/1.015, allocations: 4.678 MB / 0.8253 GB, free: 86.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-05/1.015, allocations: 8 kB / 0.8253 GB, free: 86.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01007/1.025, allocations: 6.301 MB / 0.8314 GB, free: 80.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.388e-05/1.025, allocations: 49.73 kB / 0.8315 GB, free: 80.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.204e-05/1.025, allocations: 39.98 kB / 0.8315 GB, free: 80.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06828/1.094, allocations: 13.53 MB / 0.8447 GB, free: 66.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/1.096, allocations: 0.659 MB / 0.8454 GB, free: 66.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008142/1.104, allocations: 5.481 MB / 0.8507 GB, free: 60.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/1.108, allocations: 216.4 kB / 0.8509 GB, free: 60.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005633/1.109, allocations: 191.8 kB / 0.8511 GB, free: 60.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004177/1.113, allocations: 2.96 MB / 0.854 GB, free: 57.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002707/1.116, allocations: 2.847 MB / 0.8568 GB, free: 53.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005019/1.121, allocations: 4.549 MB / 0.8612 GB, free: 48.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.802e-05/1.121, allocations: 8 kB / 0.8613 GB, free: 48.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.00913/1.13, allocations: 5.992 MB / 0.8671 GB, free: 42.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/1.13, allocations: 47.58 kB / 0.8671 GB, free: 42.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.543e-05/1.13, allocations: 39.88 kB / 0.8672 GB, free: 42.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06713/1.197, allocations: 13.3 MB / 0.8802 GB, free: 29.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/1.2, allocations: 0.6435 MB / 0.8808 GB, free: 28.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/1.21, allocations: 8.907 MB / 0.8895 GB, free: 19.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003906/1.214, allocations: 220.9 kB / 0.8897 GB, free: 19.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004143/1.215, allocations: 193.8 kB / 0.8899 GB, free: 19.27 MB / 0.5762 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.0007976/1.215, allocations: 367.2 kB / 0.8902 GB, free: 18.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.216, allocations: 466.3 kB / 0.8907 GB, free: 18.44 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006796/1.223, allocations: 4.571 MB / 0.8952 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/1.223, allocations: 20 kB / 0.8952 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.223, allocations: 3.469 kB / 0.8952 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008275/1.232, allocations: 5.617 MB / 0.9007 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02234/1.254, allocations: 10.72 MB / 0.9111 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/1.254, allocations: 4 kB / 0.9111 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/1.256, allocations: 367.6 kB / 0.9115 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06303/1.319, allocations: 11.7 MB / 0.9229 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004521/1.32, allocations: 47.97 kB / 0.923 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005581/1.325, allocations: 3.561 MB / 0.9264 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.325, allocations: 0 / 0.9264 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02148/1.347, allocations: 8.419 MB / 0.9347 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003022/1.35, allocations: 0.9208 MB / 0.9356 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009778/1.351, allocations: 36 kB / 0.9356 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/1.354, allocations: 135.8 kB / 0.9357 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003251/1.354, allocations: 109.8 kB / 0.9358 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.354, allocations: 84.02 kB / 0.9359 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.005085/1.359, allocations: 3.44 MB / 0.9393 GB, free: 236 kB / 0.6075 GB Notification: Performance of sort global known variables: time 5.11e-07/1.359, allocations: 0 / 0.9393 GB, free: 236 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00777/1.367, allocations: 2.632 MB / 0.9418 GB, free: 13.62 MB / 0.6231 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.00137/1.368, allocations: 0.5286 MB / 0.9424 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01737/1.386, allocations: 7.416 MB / 0.9496 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.386, allocations: 0 / 0.9496 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005261/1.391, allocations: 2.293 MB / 0.9518 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01049/1.402, allocations: 2.709 MB / 0.9545 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/1.418, allocations: 9.963 MB / 0.9642 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/1.421, allocations: 3.241 MB / 0.9674 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004895/1.426, allocations: 1.646 MB / 0.969 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.427, allocations: 351.2 kB / 0.9693 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/1.427, allocations: 4 kB / 0.9693 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of Templates: time 0.4024/1.83, allocations: 110.7 MB / 1.077 GB, free: 172 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)