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.0009679/0.0009679, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9029/0.9029, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 8 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1503, allocations: 82.31 MB / 0.5886 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01777/0.1681, allocations: 16.84 MB / 0.6051 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2709/0.4391, allocations: 4.857 MB / 0.6098 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000518/0.4396, allocations: 14.88 kB / 0.6098 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006951/0.4403, allocations: 208.3 kB / 0.61 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.4416, allocations: 0.5676 MB / 0.6106 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.4431, allocations: 0.64 MB / 0.6112 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001161/0.4442, allocations: 1.274 MB / 0.6124 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.4446, allocations: 288.7 kB / 0.6127 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.4451, allocations: 370.8 kB / 0.6131 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.4454, allocations: 310.2 kB / 0.6134 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.4455, allocations: 14.38 kB / 0.6134 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009241/0.4464, allocations: 0.6991 MB / 0.6141 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.4465, allocations: 109.6 kB / 0.6142 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.4467, allocations: 254.6 kB / 0.6144 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.4472, allocations: 0.6162 MB / 0.615 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4473, allocations: 7.094 kB / 0.615 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.674e-06/0.4473, allocations: 0 / 0.615 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4473, allocations: 0 / 0.615 GB, free: 33.69 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.0008912/0.4482, allocations: 0.7961 MB / 0.6158 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.4482, allocations: 12.62 kB / 0.6158 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.4483, allocations: 63.09 kB / 0.6159 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.4488, allocations: 441.6 kB / 0.6163 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.4488, allocations: 25.41 kB / 0.6163 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.4489, allocations: 26.53 kB / 0.6163 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.4493, allocations: 294 kB / 0.6166 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4493, allocations: 0 / 0.6166 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.4493, allocations: 9.969 kB / 0.6166 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4493, allocations: 5.969 kB / 0.6166 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.4497, allocations: 198.8 kB / 0.6168 GB, free: 32.71 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.001372/0.4511, allocations: 1.491 MB / 0.6183 GB, free: 31.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.4514, allocations: 169.4 kB / 0.6184 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.4515, allocations: 90.73 kB / 0.6185 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.4527, allocations: 1.285 MB / 0.6198 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.4528, allocations: 38.44 kB / 0.6198 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.4528, allocations: 0 / 0.6198 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005462/0.4533, allocations: 259.2 kB / 0.6201 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.4534, allocations: 53.97 kB / 0.6201 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.4538, allocations: 0.5848 MB / 0.6207 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.4539, allocations: 28.58 kB / 0.6207 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.4541, allocations: 273.2 kB / 0.621 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.4541, allocations: 58.47 kB / 0.621 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.4542, allocations: 29.56 kB / 0.6211 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.4542, allocations: 363 kB / 0.6214 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.4544, allocations: 75.62 kB / 0.6215 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.4546, allocations: 213.3 kB / 0.6217 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.455, allocations: 246.6 kB / 0.6219 GB, free: 29.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.455, allocations: 3.938 kB / 0.6219 GB, free: 29.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004815/0.4555, allocations: 327 kB / 0.6222 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.338e-05/0.4555, allocations: 162.7 kB / 0.6224 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4555, allocations: 2.938 kB / 0.6224 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4556, allocations: 11.08 kB / 0.6224 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.4558, allocations: 70.12 kB / 0.6225 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4558, allocations: 6 kB / 0.6225 GB, free: 29.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.4561, allocations: 52.05 kB / 0.6225 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.4562, allocations: 15.88 kB / 0.6225 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.02e-06/0.4562, allocations: 6.594 kB / 0.6225 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000424/0.4566, allocations: 241.4 kB / 0.6228 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.4566, allocations: 7.406 kB / 0.6228 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.948e-06/0.4566, allocations: 7.156 kB / 0.6228 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.4568, allocations: 67 kB / 0.6229 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.4569, allocations: 3.156 kB / 0.6229 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.4571, allocations: 45.34 kB / 0.6229 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.4572, allocations: 21.05 kB / 0.6229 GB, free: 29.24 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.4573, allocations: 257.5 kB / 0.6232 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.4574, allocations: 50.88 kB / 0.6232 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.4579, allocations: 274.8 kB / 0.6235 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.4579, allocations: 3.094 kB / 0.6235 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4579, allocations: 0 / 0.6235 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4579, allocations: 0 / 0.6235 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008171/0.4587, allocations: 0.7569 MB / 0.6242 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.4587, allocations: 0 / 0.6242 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.4589, allocations: 33.03 kB / 0.6243 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.4589, allocations: 7.094 kB / 0.6243 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4589, allocations: 12.5 kB / 0.6243 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4589, allocations: 3.375 kB / 0.6243 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4589, allocations: 2.938 kB / 0.6243 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.4593, allocations: 366 kB / 0.6246 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4594, allocations: 152.3 kB / 0.6248 GB, free: 28.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.4595, allocations: 2.938 kB / 0.6248 GB, free: 28.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.4597, allocations: 23.83 kB / 0.6248 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.4597, allocations: 13.64 kB / 0.6248 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.4598, allocations: 10.31 kB / 0.6248 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003478/0.4601, allocations: 424 kB / 0.6252 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4601, allocations: 0 / 0.6252 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006833/0.4608, allocations: 230.8 kB / 0.6254 GB, free: 28.15 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009962/0.4618, allocations: 0.4887 MB / 0.6259 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006067/0.4624, allocations: 331.7 kB / 0.6262 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4624, allocations: 4 kB / 0.6262 GB, free: 27.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.4626, allocations: 91.62 kB / 0.6263 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.4639, allocations: 261.8 kB / 0.6266 GB, free: 27.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.4651, allocations: 1.029 MB / 0.6276 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.4653, allocations: 0.837 MB / 0.6284 GB, free: 26.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.617e-05/0.4654, allocations: 44.53 kB / 0.6284 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.4654, allocations: 0 / 0.6284 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.009995/0.4754, allocations: 8.484 MB / 0.6367 GB, free: 25.81 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (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)