Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001482/0.001482, allocations: 197.1 kB / 16.26 MB, free: 6.629 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9262/0.9262, allocations: 135.2 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 66.7 kB / 0.5049 GB, free: 5.59 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1775, allocations: 80.94 MB / 0.5839 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01599/0.1935, allocations: 15.45 MB / 0.599 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006792/0.2004, allocations: 4.323 MB / 0.6033 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006946/0.2011, allocations: 15.88 kB / 0.6033 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000871/0.202, allocations: 226.9 kB / 0.6035 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.2035, allocations: 0.559 MB / 0.604 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.3354/0.5389, allocations: 0.6363 MB / 0.6046 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001665/0.5406, allocations: 1.029 MB / 0.6057 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007335/0.5413, allocations: 328.2 kB / 0.606 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.5426, allocations: 430.9 kB / 0.6064 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008822/0.5436, allocations: 331.1 kB / 0.6067 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.5437, allocations: 26.22 kB / 0.6067 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.5451, allocations: 0.6302 MB / 0.6073 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.5452, allocations: 104.1 kB / 0.6074 GB, free: 36.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.5456, allocations: 220 kB / 0.6076 GB, free: 36.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.5469, allocations: 0.7643 MB / 0.6084 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5469, allocations: 0 / 0.6084 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5469, allocations: 0 / 0.6084 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.5469, allocations: 4 kB / 0.6084 GB, free: 35.98 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001145/0.5481, allocations: 0.8313 MB / 0.6092 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5481, allocations: 11.28 kB / 0.6092 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.5482, allocations: 49.91 kB / 0.6093 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.5487, allocations: 413 kB / 0.6097 GB, free: 35.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.5487, allocations: 24.81 kB / 0.6097 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.5488, allocations: 30.53 kB / 0.6097 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.5492, allocations: 212.7 kB / 0.6099 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.5492, allocations: 7.922 kB / 0.6099 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.5493, allocations: 6.688 kB / 0.6099 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.5493, allocations: 5.219 kB / 0.6099 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.5496, allocations: 162.3 kB / 0.6101 GB, free: 35.09 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.001341/0.551, allocations: 0.9491 MB / 0.611 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.5512, allocations: 131.2 kB / 0.6111 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.5514, allocations: 69.39 kB / 0.6112 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.5516, allocations: 337.5 kB / 0.6115 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.5516, allocations: 37.02 kB / 0.6116 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.5516, allocations: 0 / 0.6116 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005493/0.5522, allocations: 239.5 kB / 0.6118 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.5522, allocations: 52.44 kB / 0.6118 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.5526, allocations: 485.7 kB / 0.6123 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.5526, allocations: 32.14 kB / 0.6123 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.5528, allocations: 229.4 kB / 0.6126 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.5528, allocations: 45.48 kB / 0.6126 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.5529, allocations: 65.3 kB / 0.6127 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.553, allocations: 346.4 kB / 0.613 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.5531, allocations: 82.72 kB / 0.6131 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.5533, allocations: 149 kB / 0.6132 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.5537, allocations: 172.5 kB / 0.6134 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5537, allocations: 0 / 0.6134 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004408/0.5541, allocations: 259.2 kB / 0.6136 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.5541, allocations: 6.062 kB / 0.6136 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5541, allocations: 0 / 0.6136 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5542, allocations: 3 kB / 0.6136 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.5544, allocations: 49.59 kB / 0.6137 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.5544, allocations: 3.094 kB / 0.6137 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.5547, allocations: 46.61 kB / 0.6137 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.5548, allocations: 7.594 kB / 0.6137 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002625/0.555, allocations: 189.7 kB / 0.6139 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000219/0.5553, allocations: 161.3 kB / 0.6141 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003119/0.5556, allocations: 171.8 kB / 0.6142 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.5556, allocations: 0 / 0.6142 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004516/0.5561, allocations: 256.7 kB / 0.6145 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.5561, allocations: 5.688 kB / 0.6145 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.5561, allocations: 6.094 kB / 0.6145 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/0.5561, allocations: 2.094 kB / 0.6145 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.5563, allocations: 50.59 kB / 0.6145 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.5563, allocations: 2.906 kB / 0.6145 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.5567, allocations: 35.34 kB / 0.6146 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.5567, allocations: 12.59 kB / 0.6146 GB, free: 32.97 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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 8.92e-05/0.5568, allocations: 204.3 kB / 0.6148 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.5569, allocations: 46.78 kB / 0.6148 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005102/0.5574, allocations: 242.2 kB / 0.6151 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.5574, allocations: 3.375 kB / 0.6151 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5574, allocations: 0 / 0.6151 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5574, allocations: 3.562 kB / 0.6151 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008163/0.5583, allocations: 0.7041 MB / 0.6158 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5583, allocations: 0 / 0.6158 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.5584, allocations: 33.42 kB / 0.6158 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.5584, allocations: 7.031 kB / 0.6158 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.5584, allocations: 8 kB / 0.6158 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5584, allocations: 4.094 kB / 0.6158 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5584, allocations: 3.938 kB / 0.6158 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.5588, allocations: 343.3 kB / 0.6161 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.5589, allocations: 138.6 kB / 0.6163 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.559, allocations: 1.875 kB / 0.6163 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.5592, allocations: 22.2 kB / 0.6163 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.5593, allocations: 15.64 kB / 0.6163 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.5593, allocations: 9.219 kB / 0.6163 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003053/0.5596, allocations: 340.8 kB / 0.6166 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5596, allocations: 0 / 0.6166 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006257/0.5603, allocations: 204.9 kB / 0.6168 GB, free: 31.93 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 (16): * Single equations (assignments): 14 * 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.001023/0.5613, allocations: 475.2 kB / 0.6173 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005891/0.5619, allocations: 282.2 kB / 0.6176 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5619, allocations: 0 / 0.6176 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.5621, allocations: 89.34 kB / 0.6176 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.5631, allocations: 206.5 kB / 0.6178 GB, free: 31.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.5643, allocations: 0.8427 MB / 0.6187 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.5645, allocations: 0.8279 MB / 0.6195 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002819/0.5648, allocations: 87.28 kB / 0.6196 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.5649, allocations: 36.44 kB / 0.6196 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.5649, allocations: 0 / 0.6196 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.0145/0.5794, allocations: 8.392 MB / 0.6278 GB, free: 29.9 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)