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.001537/0.001537, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001615/0.001615, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9018/0.9018, allocations: 135.6 MB / 425.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 70.64 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1566, allocations: 81.02 MB / 0.5845 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.2912/0.4479, allocations: 79.8 MB / 0.6624 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02632/0.4742, allocations: 19.1 MB / 0.6811 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003164/0.4774, allocations: 97.94 kB / 0.6812 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.4804, allocations: 1.005 MB / 0.6821 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007538/0.488, allocations: 2.588 MB / 0.6847 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006356/0.4944, allocations: 2.214 MB / 0.6868 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01834/0.5127, allocations: 15.58 MB / 0.702 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009922/0.5227, allocations: 7.181 MB / 0.7091 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01339/0.5361, allocations: 5.916 MB / 0.7148 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008663/0.5448, allocations: 5.215 MB / 0.7199 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001521/0.5463, allocations: 0.5352 MB / 0.7205 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005985/0.5523, allocations: 1.795 MB / 0.7222 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003123/0.5554, allocations: 1.624 MB / 0.7238 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007693/0.5632, allocations: 3.293 MB / 0.727 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01298/0.5762, allocations: 8.978 MB / 0.7358 GB, free: 1.715 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5762, allocations: 0 / 0.7358 GB, free: 1.715 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5762, allocations: 0 / 0.7358 GB, free: 1.715 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001867/0.5764, allocations: 0 / 0.7358 GB, free: 1.715 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.01353/0.5899, allocations: 6.482 MB / 0.7421 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.59, allocations: 8.031 kB / 0.7421 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.5936, allocations: 0.825 MB / 0.7429 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009757/0.6034, allocations: 5.277 MB / 0.7481 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.6036, allocations: 255.1 kB / 0.7483 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007022/0.6043, allocations: 344 kB / 0.7486 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.6148, allocations: 5.701 MB / 0.7542 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.218e-05/0.6149, allocations: 7.938 kB / 0.7542 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005584/0.6155, allocations: 144 kB / 0.7544 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/0.6156, allocations: 117.9 kB / 0.7545 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.6271, allocations: 5.53 MB / 0.7599 GB, free: 8.609 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.03871/0.6658, allocations: 23.76 MB / 0.7831 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004839/0.6707, allocations: 2.759 MB / 0.7858 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003006/0.6737, allocations: 1.901 MB / 0.7876 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01249/0.6862, allocations: 7.042 MB / 0.7945 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003311/0.6896, allocations: 1.91 MB / 0.7964 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004314/0.6939, allocations: 1.044 MB / 0.7974 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=156): time 9.728e-06/0.6939, allocations: 4 kB / 0.7974 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=156): time 0.02453/0.7185, allocations: 8.044 MB / 0.8052 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.7186, allocations: 68.72 kB / 0.8053 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007055/0.7256, allocations: 4.898 MB / 0.8101 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005141/0.7262, allocations: 65.7 kB / 0.8102 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002312/0.7285, allocations: 2.46 MB / 0.8126 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007549/0.7293, allocations: 0.5509 MB / 0.8131 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.7303, allocations: 0.6607 MB / 0.8137 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7304, allocations: 309.1 kB / 0.814 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00283/0.7333, allocations: 1.718 MB / 0.8157 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003838/0.7371, allocations: 2.913 MB / 0.8186 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006715/0.7438, allocations: 4.683 MB / 0.8231 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/0.7439, allocations: 11.94 kB / 0.8231 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01627/0.7602, allocations: 6.996 MB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.181e-05/0.7602, allocations: 52.2 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.521e-05/0.7603, allocations: 32 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07896/0.8393, allocations: 13.65 MB / 0.8434 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/0.8423, allocations: 0.6474 MB / 0.844 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.8525, allocations: 5.542 MB / 0.8494 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00473/0.8572, allocations: 331.7 kB / 0.8497 GB, free: 9.824 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005152/0.8578, allocations: 191.8 kB / 0.8499 GB, free: 9.637 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005348/0.8631, allocations: 2.972 MB / 0.8528 GB, free: 6.66 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003963/0.8671, allocations: 2.843 MB / 0.8556 GB, free: 3.266 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2338/1.101, allocations: 4.545 MB / 0.86 GB, free: 204.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.361e-05/1.101, allocations: 11.69 kB / 0.8601 GB, free: 204.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.01267/1.114, allocations: 6.676 MB / 0.8666 GB, free: 204 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.114, allocations: 46.95 kB / 0.8666 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/1.114, allocations: 34.03 kB / 0.8667 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07249/1.186, allocations: 13.42 MB / 0.8798 GB, free: 202.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/1.189, allocations: 0.6455 MB / 0.8804 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/1.201, allocations: 8.964 MB / 0.8891 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004435/1.205, allocations: 331.1 kB / 0.8895 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004207/1.206, allocations: 187.5 kB / 0.8896 GB, free: 197.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 (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.0007997/1.207, allocations: 377.5 kB / 0.89 GB, free: 197 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.208, allocations: 465.1 kB / 0.8904 GB, free: 197 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008322/1.216, allocations: 4.595 MB / 0.8949 GB, free: 195.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/1.216, allocations: 23.25 kB / 0.8949 GB, free: 195.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.216, allocations: 3.938 kB / 0.895 GB, free: 195.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006876/1.223, allocations: 5.196 MB / 0.9 GB, free: 192.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02801/1.251, allocations: 11.07 MB / 0.9108 GB, free: 188.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/1.251, allocations: 1.312 kB / 0.9108 GB, free: 188.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/1.253, allocations: 378.8 kB / 0.9112 GB, free: 188.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06514/1.319, allocations: 11.77 MB / 0.9227 GB, free: 185.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004589/1.319, allocations: 52.05 kB / 0.9227 GB, free: 185.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004755/1.324, allocations: 3.55 MB / 0.9262 GB, free: 182.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.324, allocations: 3.938 kB / 0.9262 GB, free: 182.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009706/1.334, allocations: 7.396 MB / 0.9334 GB, free: 178.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002085/1.336, allocations: 0.9232 MB / 0.9343 GB, free: 177.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007065/1.336, allocations: 31.06 kB / 0.9344 GB, free: 177.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/1.339, allocations: 259.6 kB / 0.9346 GB, free: 177.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/1.34, allocations: 111.5 kB / 0.9347 GB, free: 177.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/1.34, allocations: 88.42 kB / 0.9348 GB, free: 177.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003931/1.344, allocations: 3.349 MB / 0.9381 GB, free: 174.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.21e-07/1.344, allocations: 4 kB / 0.9381 GB, free: 174.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007806/1.351, allocations: 2.649 MB / 0.9407 GB, free: 172.1 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 (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.001397/1.353, allocations: 0.5175 MB / 0.9412 GB, free: 171.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01815/1.371, allocations: 8.507 MB / 0.9495 GB, free: 163.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.371, allocations: 64 / 0.9495 GB, free: 163.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004783/1.376, allocations: 2.305 MB / 0.9517 GB, free: 160.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/1.386, allocations: 2.726 MB / 0.9544 GB, free: 158.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/1.401, allocations: 11.81 MB / 0.9659 GB, free: 146.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001871/1.402, allocations: 3.241 MB / 0.9691 GB, free: 143.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005084/1.408, allocations: 1.658 MB / 0.9707 GB, free: 141.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009481/1.409, allocations: 347.3 kB / 0.971 GB, free: 141.1 MB / 0.67 GB Notification: Performance of SimCode: time 9.62e-07/1.409, allocations: 0 / 0.971 GB, free: 141.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1414/1.55, allocations: 114.1 MB / 1.082 GB, free: 28.01 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)