Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001053/0.001053, allocations: 114.6 kB / 16.42 MB, free: 6.492 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.0009622/0.0009622, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7743/0.7743, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 62.47 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1275, allocations: 80.22 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.07432/0.2019, allocations: 80.54 MB / 0.739 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3325/0.5344, allocations: 19.22 MB / 0.7577 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00311/0.5375, allocations: 110.2 kB / 0.7578 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.5404, allocations: 1.157 MB / 0.759 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007084/0.5475, allocations: 2.867 MB / 0.7618 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005893/0.5534, allocations: 2.41 MB / 0.7641 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01827/0.5716, allocations: 15.53 MB / 0.7793 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008598/0.5803, allocations: 7.218 MB / 0.7863 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01184/0.5921, allocations: 5.991 MB / 0.7922 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008166/0.6003, allocations: 5.052 MB / 0.7971 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002091/0.6025, allocations: 0.5372 MB / 0.7976 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006451/0.6089, allocations: 1.8 MB / 0.7994 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002809/0.6118, allocations: 1.616 MB / 0.801 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006623/0.6184, allocations: 3.291 MB / 0.8042 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.6311, allocations: 9.078 MB / 0.8131 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.6311, allocations: 0 / 0.8131 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.086e-06/0.6311, allocations: 0 / 0.8131 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002678/0.6314, allocations: 7.938 kB / 0.8131 GB, free: 9.449 MB / 0.5919 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.01582/0.6472, allocations: 6.48 MB / 0.8194 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6473, allocations: 8.031 kB / 0.8194 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004332/0.6516, allocations: 0.8206 MB / 0.8202 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.6631, allocations: 5.35 MB / 0.8254 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.6634, allocations: 258.5 kB / 0.8257 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/0.6645, allocations: 339.9 kB / 0.826 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.676, allocations: 5.71 MB / 0.8316 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.021e-05/0.6761, allocations: 11.88 kB / 0.8316 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008472/0.677, allocations: 143.8 kB / 0.8317 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.6771, allocations: 121.9 kB / 0.8318 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009859/0.687, allocations: 5.518 MB / 0.8372 GB, free: 484 kB / 0.6075 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.03636/0.7234, allocations: 23.67 MB / 0.8603 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005278/0.7287, allocations: 2.748 MB / 0.863 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003064/0.7318, allocations: 1.897 MB / 0.8649 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/0.7445, allocations: 7.087 MB / 0.8718 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003123/0.7476, allocations: 1.918 MB / 0.8737 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00317/0.7508, allocations: 0.7016 MB / 0.8744 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=155): time 8.716e-06/0.7508, allocations: 0 / 0.8744 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of matching and sorting (n=155): time 0.02409/0.7749, allocations: 7.939 MB / 0.8821 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.775, allocations: 68.72 kB / 0.8822 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007719/0.7827, allocations: 5.003 MB / 0.8871 GB, free: 12.38 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003488/0.7831, allocations: 73.7 kB / 0.8871 GB, free: 12.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002222/0.7853, allocations: 2.457 MB / 0.8895 GB, free: 9.832 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006998/0.786, allocations: 0.5478 MB / 0.8901 GB, free: 9.289 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.7871, allocations: 0.6646 MB / 0.8907 GB, free: 8.617 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.7872, allocations: 309 kB / 0.891 GB, free: 8.312 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002777/0.79, allocations: 1.714 MB / 0.8927 GB, free: 6.59 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003572/0.7936, allocations: 2.909 MB / 0.8955 GB, free: 3.129 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006446/0.8001, allocations: 4.672 MB / 0.9001 GB, free: 14 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-05/0.8001, allocations: 16 kB / 0.9001 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01151/0.8116, allocations: 6.288 MB / 0.9062 GB, free: 7.672 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.079e-05/0.8117, allocations: 53.69 kB / 0.9063 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.5e-05/0.8118, allocations: 32 kB / 0.9063 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08247/0.8942, allocations: 13.55 MB / 0.9196 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/0.8972, allocations: 0.6474 MB / 0.9202 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009977/0.9072, allocations: 5.483 MB / 0.9255 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004269/0.9115, allocations: 212.4 kB / 0.9257 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005212/0.912, allocations: 203.8 kB / 0.9259 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005067/0.9171, allocations: 2.956 MB / 0.9288 GB, free: 0.5352 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00358/0.9207, allocations: 2.847 MB / 0.9316 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00634/0.9271, allocations: 4.545 MB / 0.936 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.145e-05/0.9271, allocations: 12 kB / 0.9361 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.01035/0.9375, allocations: 5.988 MB / 0.9419 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/0.9376, allocations: 52.34 kB / 0.942 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.224e-05/0.9376, allocations: 32.88 kB / 0.942 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.081/1.019, allocations: 13.31 MB / 0.955 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/1.022, allocations: 0.6396 MB / 0.9556 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/1.036, allocations: 8.909 MB / 0.9643 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004296/1.04, allocations: 220.8 kB / 0.9645 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005768/1.041, allocations: 192.1 kB / 0.9647 GB, free: 10.5 MB / 0.7481 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.001017/1.042, allocations: 367.3 kB / 0.9651 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/1.043, allocations: 466.2 kB / 0.9655 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008932/1.052, allocations: 4.571 MB / 0.97 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01141/1.064, allocations: 5.628 MB / 0.9755 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/1.064, allocations: 3.984 kB / 0.9755 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00283/1.067, allocations: 0.9208 MB / 0.9764 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/1.068, allocations: 32 kB / 0.9764 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003212/1.071, allocations: 139.7 kB / 0.9765 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003915/1.071, allocations: 129.8 kB / 0.9766 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01178/1.083, allocations: 4.762 MB / 0.9813 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00992/1.093, allocations: 5.933 MB / 0.9871 GB, free: 3.242 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002677/1.096, allocations: 1.858 MB / 0.9889 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.006078/1.102, allocations: 3.44 MB / 0.9923 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of Backend: time 7.32e-07/1.102, allocations: 4 kB / 0.9923 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02107/1.123, allocations: 6.29 MB / 0.9984 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of SimCode: time 0.02469/1.148, allocations: 11.7 MB / 1.01 GB, free: 12.02 MB / 0.795 GB Notification: Performance of Templates: time 0.4325/1.58, allocations: 117 MB / 1.124 GB, free: 272.3 MB / 0.8262 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)