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.001176/0.001176, allocations: 110.7 kB / 16.42 MB, free: 6.445 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.001286/0.001286, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.203/1.203, 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-master/package.mo): time 0.7128/0.7128, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 66.78 kB / 0.5862 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1213, allocations: 80.93 MB / 0.6653 GB, free: 5.82 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.06742/0.1888, allocations: 80.56 MB / 0.7439 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2909/0.4797, allocations: 19.2 MB / 0.7627 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.4826, allocations: 106.3 kB / 0.7628 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.4852, allocations: 1.161 MB / 0.7639 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006468/0.4917, allocations: 2.86 MB / 0.7667 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005325/0.497, allocations: 2.41 MB / 0.7691 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01344/0.5105, allocations: 15.55 MB / 0.7843 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007394/0.5179, allocations: 7.221 MB / 0.7913 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009901/0.5278, allocations: 5.976 MB / 0.7971 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006761/0.5346, allocations: 5.05 MB / 0.8021 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001174/0.5358, allocations: 0.5376 MB / 0.8026 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004845/0.5406, allocations: 1.8 MB / 0.8044 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.542, allocations: 1.622 MB / 0.8059 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004195/0.5462, allocations: 3.292 MB / 0.8092 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00927/0.5554, allocations: 9.078 MB / 0.818 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5555, allocations: 0 / 0.818 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.045e-06/0.5555, allocations: 4 kB / 0.818 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001269/0.5556, allocations: 0 / 0.818 GB, free: 5.914 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.01114/0.5668, allocations: 6.479 MB / 0.8244 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.5668, allocations: 13.11 kB / 0.8244 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/0.5701, allocations: 0.8205 MB / 0.8252 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009798/0.5799, allocations: 5.355 MB / 0.8304 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.5801, allocations: 254.5 kB / 0.8306 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005906/0.5807, allocations: 340 kB / 0.831 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008452/0.5892, allocations: 5.701 MB / 0.8365 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.719e-05/0.5892, allocations: 15.78 kB / 0.8365 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004116/0.5897, allocations: 155.4 kB / 0.8367 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.763e-05/0.5898, allocations: 121.9 kB / 0.8368 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008496/0.5983, allocations: 5.519 MB / 0.8422 GB, free: 12.93 MB / 0.6231 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.02954/0.6278, allocations: 23.66 MB / 0.8653 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004418/0.6323, allocations: 2.757 MB / 0.868 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002641/0.6349, allocations: 1.894 MB / 0.8698 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/0.6467, allocations: 7.09 MB / 0.8768 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002959/0.6496, allocations: 1.921 MB / 0.8786 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003203/0.6529, allocations: 0.7013 MB / 0.8793 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=155): time 8.115e-06/0.6529, allocations: 0 / 0.8793 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of matching and sorting (n=155): time 0.02329/0.6762, allocations: 7.938 MB / 0.8871 GB, free: 13.91 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.6763, allocations: 68.72 kB / 0.8871 GB, free: 13.83 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007169/0.6834, allocations: 5.007 MB / 0.892 GB, free: 8.836 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000403/0.6839, allocations: 65.7 kB / 0.8921 GB, free: 8.766 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002093/0.686, allocations: 2.453 MB / 0.8945 GB, free: 6.301 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007497/0.6867, allocations: 0.5529 MB / 0.895 GB, free: 5.754 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.6878, allocations: 0.6646 MB / 0.8957 GB, free: 5.082 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.6879, allocations: 309.1 kB / 0.896 GB, free: 4.777 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/0.6906, allocations: 1.722 MB / 0.8977 GB, free: 3.047 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003559/0.6942, allocations: 2.904 MB / 0.9005 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006446/0.7006, allocations: 4.68 MB / 0.9051 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-05/0.7007, allocations: 12 kB / 0.9051 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.011/0.7117, allocations: 6.29 MB / 0.9112 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.7117, allocations: 46.7 kB / 0.9113 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.186e-05/0.7118, allocations: 36 kB / 0.9113 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07582/0.7876, allocations: 13.54 MB / 0.9245 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002611/0.7903, allocations: 0.6513 MB / 0.9252 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009482/0.7997, allocations: 5.475 MB / 0.9305 GB, free: 376 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003843/0.8036, allocations: 220.4 kB / 0.9307 GB, free: 156 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000433/0.8041, allocations: 191.8 kB / 0.9309 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004745/0.8088, allocations: 2.968 MB / 0.9338 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003408/0.8122, allocations: 2.848 MB / 0.9366 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005989/0.8182, allocations: 4.543 MB / 0.941 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.012e-05/0.8183, allocations: 8 kB / 0.941 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.01013/0.8284, allocations: 6.003 MB / 0.9469 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.932e-05/0.8285, allocations: 48.2 kB / 0.9469 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.848e-05/0.8285, allocations: 32 kB / 0.947 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07649/0.905, allocations: 13.31 MB / 0.96 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/0.9077, allocations: 0.6434 MB / 0.9606 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/0.9207, allocations: 8.91 MB / 0.9693 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003809/0.9245, allocations: 220.8 kB / 0.9695 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004169/0.925, allocations: 192 kB / 0.9697 GB, free: 6.914 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.0008006/0.9258, allocations: 359.3 kB / 0.97 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/0.927, allocations: 474.1 kB / 0.9705 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008196/0.9352, allocations: 4.57 MB / 0.9749 GB, free: 1.496 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01042/0.9456, allocations: 5.622 MB / 0.9804 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.9457, allocations: 4 kB / 0.9804 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00261/0.9483, allocations: 0.9208 MB / 0.9813 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/0.9493, allocations: 27.98 kB / 0.9814 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/0.9522, allocations: 143.7 kB / 0.9815 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003518/0.9526, allocations: 137.8 kB / 0.9816 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01099/0.9636, allocations: 4.757 MB / 0.9863 GB, free: 5.605 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009162/0.9728, allocations: 5.931 MB / 0.9921 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002669/0.9755, allocations: 1.862 MB / 0.9939 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.006083/0.9816, allocations: 3.436 MB / 0.9972 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of Backend: time 7.31e-07/0.9816, allocations: 4 kB / 0.9972 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01909/1.001, allocations: 6.296 MB / 1.003 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of SimCode: time 0.02046/1.021, allocations: 11.71 MB / 1.015 GB, free: 8.375 MB / 0.795 GB Notification: Performance of Templates: time 0.3949/1.416, allocations: 117 MB / 1.129 GB, free: 265.4 MB / 0.8262 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)