Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009205/0.0009204, allocations: 99 kB / 15.05 MB, free: 1.105 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.000827/0.000827, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8199/0.8199, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003141, allocations: 8 kB / 0.5068 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1581, allocations: 82.31 MB / 0.5872 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01396/0.1721, allocations: 14.74 MB / 0.6016 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005584/0.1777, allocations: 4.235 MB / 0.6057 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.1781, allocations: 11.88 kB / 0.6057 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.2663/0.4444, allocations: 235.7 kB / 0.606 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.4461, allocations: 0.5542 MB / 0.6065 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.4481, allocations: 0.7583 MB / 0.6072 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000896/0.449, allocations: 0.5911 MB / 0.6078 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.4494, allocations: 269.9 kB / 0.6081 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004929/0.4499, allocations: 332.1 kB / 0.6084 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.4501, allocations: 221.2 kB / 0.6086 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.4502, allocations: 16.25 kB / 0.6086 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000855/0.451, allocations: 456 kB / 0.6091 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.89e-05/0.4511, allocations: 110.1 kB / 0.6092 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.141e-05/0.4512, allocations: 113.6 kB / 0.6093 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.4518, allocations: 0.5452 MB / 0.6098 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.4518, allocations: 0 / 0.6098 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4518, allocations: 0 / 0.6098 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.4518, allocations: 0 / 0.6098 GB, free: 34.83 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009448/0.4527, allocations: 0.782 MB / 0.6106 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.4528, allocations: 8.531 kB / 0.6106 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.4529, allocations: 61.91 kB / 0.6106 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.4534, allocations: 428.9 kB / 0.611 GB, free: 34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.4534, allocations: 19.97 kB / 0.6111 GB, free: 34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.4535, allocations: 34.59 kB / 0.6111 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.454, allocations: 282.8 kB / 0.6114 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.454, allocations: 0 / 0.6114 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.454, allocations: 14.28 kB / 0.6114 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.454, allocations: 9.5 kB / 0.6114 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.4544, allocations: 200.1 kB / 0.6116 GB, free: 33.91 MB / 0.4981 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.001478/0.4559, allocations: 1.48 MB / 0.613 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.4562, allocations: 171 kB / 0.6132 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/0.4574, allocations: 1.279 MB / 0.6144 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.4574, allocations: 37.55 kB / 0.6145 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.4574, allocations: 4 kB / 0.6145 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005493/0.458, allocations: 268 kB / 0.6147 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.458, allocations: 57.34 kB / 0.6148 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.4585, allocations: 0.5795 MB / 0.6154 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.4585, allocations: 32.33 kB / 0.6154 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.4587, allocations: 272.1 kB / 0.6156 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.4587, allocations: 54.19 kB / 0.6157 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.4587, allocations: 3.75 kB / 0.6157 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.4588, allocations: 357.8 kB / 0.616 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.459, allocations: 78.06 kB / 0.6161 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.4592, allocations: 212.5 kB / 0.6163 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.4594, allocations: 100.9 kB / 0.6164 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4594, allocations: 6.359 kB / 0.6164 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004554/0.4598, allocations: 313.5 kB / 0.6167 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.46, allocations: 0.9663 MB / 0.6177 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.46, allocations: 2.25 kB / 0.6177 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.46, allocations: 2.906 kB / 0.6177 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.4603, allocations: 63.5 kB / 0.6177 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4603, allocations: 6.125 kB / 0.6177 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.4606, allocations: 59.84 kB / 0.6178 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.4606, allocations: 17.06 kB / 0.6178 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.622e-06/0.4607, allocations: 3 kB / 0.6178 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003907/0.4611, allocations: 246.7 kB / 0.618 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.4611, allocations: 2.906 kB / 0.618 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.4611, allocations: 2.938 kB / 0.6181 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.4613, allocations: 68.03 kB / 0.6181 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4613, allocations: 9.469 kB / 0.6181 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.4616, allocations: 40.58 kB / 0.6182 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.4616, allocations: 13.22 kB / 0.6182 GB, free: 29.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.4618, allocations: 268.1 kB / 0.6184 GB, free: 29.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.4618, allocations: 48.19 kB / 0.6185 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/0.4623, allocations: 271.8 kB / 0.6187 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4623, allocations: 6.391 kB / 0.6187 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4623, allocations: 6.188 kB / 0.6188 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4623, allocations: 0 / 0.6188 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007884/0.4631, allocations: 0.7477 MB / 0.6195 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4631, allocations: 1.875 kB / 0.6195 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.4633, allocations: 39.7 kB / 0.6195 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.4633, allocations: 3.25 kB / 0.6195 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.4633, allocations: 0 / 0.6195 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.4633, allocations: 3.25 kB / 0.6195 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4633, allocations: 3.25 kB / 0.6195 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.4637, allocations: 411.8 kB / 0.6199 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.4638, allocations: 155.5 kB / 0.6201 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.4639, allocations: 6.578 kB / 0.6201 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.4641, allocations: 24.2 kB / 0.6201 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.4641, allocations: 16.83 kB / 0.6201 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.4641, allocations: 6.469 kB / 0.6201 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003448/0.4645, allocations: 414.4 kB / 0.6205 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4645, allocations: 3.188 kB / 0.6205 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007213/0.4652, allocations: 224.2 kB / 0.6207 GB, free: 28.69 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009182/0.4661, allocations: 499 kB / 0.6212 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006051/0.4668, allocations: 330.3 kB / 0.6215 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4668, allocations: 4.25 kB / 0.6215 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.4669, allocations: 87.98 kB / 0.6216 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.4681, allocations: 260 kB / 0.6219 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.4691, allocations: 0.9547 MB / 0.6228 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.4694, allocations: 0.8568 MB / 0.6236 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00031/0.4697, allocations: 105.3 kB / 0.6237 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.19e-05/0.4698, allocations: 41.17 kB / 0.6238 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4698, allocations: 0 / 0.6238 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.01326/0.483, allocations: 9.58 MB / 0.6331 GB, free: 26.54 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: