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.001647/0.001647, allocations: 108.9 kB / 16.41 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.001512/0.001512, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8687/0.8687, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 70.45 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1682, allocations: 80.93 MB / 0.6653 GB, free: 5.879 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.09105/0.2592, allocations: 80.68 MB / 0.7441 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4162/0.6754, allocations: 19.23 MB / 0.7629 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005137/0.6805, allocations: 111 kB / 0.763 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003976/0.6845, allocations: 1.167 MB / 0.7642 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009245/0.6938, allocations: 2.865 MB / 0.767 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007101/0.7009, allocations: 2.418 MB / 0.7693 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01838/0.7193, allocations: 15.52 MB / 0.7845 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009712/0.729, allocations: 6.214 MB / 0.7905 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01529/0.7442, allocations: 5.999 MB / 0.7964 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01001/0.7543, allocations: 5.066 MB / 0.8013 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002918/0.7572, allocations: 0.5448 MB / 0.8019 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00781/0.765, allocations: 1.799 MB / 0.8036 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003714/0.7687, allocations: 1.696 MB / 0.8053 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.009025/0.7777, allocations: 3.295 MB / 0.8085 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01609/0.7938, allocations: 9.139 MB / 0.8174 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.7938, allocations: 0 / 0.8174 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7938, allocations: 0 / 0.8174 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003279/0.7942, allocations: 4 kB / 0.8174 GB, free: 6.484 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.01814/0.8123, allocations: 6.591 MB / 0.8239 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.8123, allocations: 9.109 kB / 0.8239 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004754/0.8171, allocations: 0.8551 MB / 0.8247 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/0.8305, allocations: 5.393 MB / 0.83 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003212/0.8308, allocations: 254.5 kB / 0.8302 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/0.8321, allocations: 340 kB / 0.8305 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.8452, allocations: 5.744 MB / 0.8362 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.598e-05/0.8453, allocations: 11.94 kB / 0.8362 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006847/0.8459, allocations: 144 kB / 0.8363 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.8461, allocations: 121.9 kB / 0.8364 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01201/0.8581, allocations: 5.588 MB / 0.8419 GB, free: 13.25 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.04127/0.8994, allocations: 23.67 MB / 0.865 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005505/0.9049, allocations: 2.553 MB / 0.8675 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003252/0.9081, allocations: 1.698 MB / 0.8691 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01456/0.9227, allocations: 7.188 MB / 0.8762 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003546/0.9262, allocations: 1.949 MB / 0.8781 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005082/0.9313, allocations: 1.075 MB / 0.8791 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=155): time 1.042e-05/0.9313, allocations: 0 / 0.8791 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of matching and sorting (n=155): time 0.0267/0.958, allocations: 7.882 MB / 0.8868 GB, free: 14.16 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.9581, allocations: 72.66 kB / 0.8869 GB, free: 14.08 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009177/0.9672, allocations: 5.015 MB / 0.8918 GB, free: 9.082 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008738/0.9681, allocations: 61.7 kB / 0.8918 GB, free: 9.016 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002969/0.9711, allocations: 2.501 MB / 0.8943 GB, free: 6.508 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001284/0.9724, allocations: 0.5789 MB / 0.8948 GB, free: 5.938 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.9737, allocations: 0.6727 MB / 0.8955 GB, free: 5.258 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.9738, allocations: 305.1 kB / 0.8958 GB, free: 4.957 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003188/0.977, allocations: 1.714 MB / 0.8975 GB, free: 3.234 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004337/0.9813, allocations: 2.901 MB / 0.9003 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007984/0.9893, allocations: 4.68 MB / 0.9049 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.994e-05/0.9893, allocations: 8 kB / 0.9049 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01381/1.003, allocations: 6.26 MB / 0.911 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.761e-05/1.003, allocations: 45.7 kB / 0.911 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.167e-05/1.003, allocations: 36 kB / 0.9111 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.077/1.08, allocations: 13.54 MB / 0.9243 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003013/1.083, allocations: 0.6513 MB / 0.9249 GB, free: 6.152 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/1.094, allocations: 5.479 MB / 0.9303 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005016/1.099, allocations: 216.7 kB / 0.9305 GB, free: 392 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008489/1.1, allocations: 187.8 kB / 0.9307 GB, free: 204 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00623/1.106, allocations: 2.968 MB / 0.9336 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004442/1.11, allocations: 2.855 MB / 0.9364 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007776/1.118, allocations: 4.54 MB / 0.9408 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.365e-05/1.118, allocations: 11.94 kB / 0.9408 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.01348/1.132, allocations: 5.95 MB / 0.9466 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/1.132, allocations: 49.7 kB / 0.9467 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.497e-05/1.132, allocations: 36 kB / 0.9467 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07739/1.209, allocations: 13.31 MB / 0.9597 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/1.212, allocations: 0.6435 MB / 0.9603 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/1.227, allocations: 8.915 MB / 0.969 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004691/1.231, allocations: 220.9 kB / 0.9692 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007033/1.232, allocations: 191.8 kB / 0.9694 GB, free: 7.18 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.001084/1.233, allocations: 364.6 kB / 0.9698 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001669/1.235, allocations: 492.8 kB / 0.9702 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009791/1.245, allocations: 4.499 MB / 0.9746 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.147e-05/1.245, allocations: 23.94 kB / 0.9746 GB, free: 1.789 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.245, allocations: 7.938 kB / 0.9747 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01218/1.257, allocations: 5.566 MB / 0.9801 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02994/1.287, allocations: 10.66 MB / 0.9905 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/1.287, allocations: 7.938 kB / 0.9905 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/1.289, allocations: 371.5 kB / 0.9909 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06871/1.358, allocations: 11.71 MB / 1.002 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005088/1.359, allocations: 47.97 kB / 1.002 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006795/1.365, allocations: 3.556 MB / 1.006 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.365, allocations: 0 / 1.006 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02595/1.391, allocations: 8.377 MB / 1.014 GB, free: 9.148 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003224/1.395, allocations: 0.9467 MB / 1.015 GB, free: 8.18 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/1.396, allocations: 35.94 kB / 1.015 GB, free: 8.145 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00365/1.4, allocations: 143.8 kB / 1.015 GB, free: 8.004 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005577/1.4, allocations: 109.8 kB / 1.015 GB, free: 7.898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003256/1.4, allocations: 83.94 kB / 1.015 GB, free: 7.816 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.007048/1.407, allocations: 3.44 MB / 1.019 GB, free: 4.395 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/1.407, allocations: 0 / 1.019 GB, free: 4.395 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01009/1.418, allocations: 2.644 MB / 1.021 GB, free: 1.746 MB / 0.795 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.001761/1.419, allocations: 0.5351 MB / 1.022 GB, free: 1.242 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01998/1.439, allocations: 6.982 MB / 1.029 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.439, allocations: 4 kB / 1.029 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006274/1.446, allocations: 1.991 MB / 1.031 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01383/1.459, allocations: 2.712 MB / 1.033 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/1.479, allocations: 10.2 MB / 1.043 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003261/1.482, allocations: 3.225 MB / 1.046 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/1.484, allocations: 367.3 kB / 1.047 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of SimCode: time 1.032e-06/1.484, allocations: 3.938 kB / 1.047 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of Templates: time 0.5317/2.016, allocations: 163.8 MB / 1.207 GB, free: 180.7 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)