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.00103/0.00103, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001208/0.001208, allocations: 168.7 kB / 15.95 MB, free: 204 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.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9874/0.9874, allocations: 135.3 MB / 426.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.000484, allocations: 15.98 kB / 0.507 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2013, allocations: 82.3 MB / 0.5874 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01929/0.2206, allocations: 16.01 MB / 0.603 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3474/0.5681, allocations: 4.588 MB / 0.6075 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000784/0.569, allocations: 18.91 kB / 0.6075 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009743/0.57, allocations: 187.7 kB / 0.6077 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.5716, allocations: 0.4971 MB / 0.6082 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.5735, allocations: 0.5987 MB / 0.6088 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.575, allocations: 1.091 MB / 0.6098 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004763/0.5755, allocations: 258.3 kB / 0.6101 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006818/0.5762, allocations: 358.8 kB / 0.6104 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003903/0.5766, allocations: 291.9 kB / 0.6107 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.5767, allocations: 15.41 kB / 0.6107 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.5781, allocations: 0.6007 MB / 0.6113 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.5782, allocations: 116.3 kB / 0.6114 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.5783, allocations: 110 kB / 0.6115 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007037/0.579, allocations: 0.5883 MB / 0.6121 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5791, allocations: 0 / 0.6121 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.357e-06/0.5791, allocations: 3.281 kB / 0.6121 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.5791, allocations: 0 / 0.6121 GB, free: 34.4 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.001067/0.5802, allocations: 0.809 MB / 0.6129 GB, free: 33.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5802, allocations: 8.844 kB / 0.6129 GB, free: 33.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.5804, allocations: 59.78 kB / 0.6129 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.5809, allocations: 428 kB / 0.6133 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.581, allocations: 18.94 kB / 0.6134 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.581, allocations: 30.88 kB / 0.6134 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.5815, allocations: 284.1 kB / 0.6137 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5815, allocations: 4.797 kB / 0.6137 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.5816, allocations: 10.41 kB / 0.6137 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.5816, allocations: 9.109 kB / 0.6137 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.582, allocations: 207.9 kB / 0.6139 GB, free: 33.45 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.001487/0.5835, allocations: 1.475 MB / 0.6153 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.5838, allocations: 165 kB / 0.6155 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.5839, allocations: 88.45 kB / 0.6156 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/0.5852, allocations: 1.285 MB / 0.6168 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.5853, allocations: 41.16 kB / 0.6169 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.795e-06/0.5853, allocations: 3.984 kB / 0.6169 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005535/0.5858, allocations: 260 kB / 0.6171 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.5859, allocations: 58.22 kB / 0.6172 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.5864, allocations: 0.5787 MB / 0.6177 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.5865, allocations: 36.11 kB / 0.6178 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.5866, allocations: 269.3 kB / 0.618 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.5867, allocations: 50.56 kB / 0.6181 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.5867, allocations: 4.531 kB / 0.6181 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.5868, allocations: 359.1 kB / 0.6184 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.5869, allocations: 72.39 kB / 0.6185 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.5871, allocations: 211.7 kB / 0.6187 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.5873, allocations: 113 kB / 0.6188 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5874, allocations: 0 / 0.6188 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004841/0.5878, allocations: 321.2 kB / 0.6191 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.934e-05/0.5879, allocations: 165.2 kB / 0.6193 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5879, allocations: 3.656 kB / 0.6193 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.588, allocations: 6.469 kB / 0.6193 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.5882, allocations: 62.36 kB / 0.6193 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.5882, allocations: 7.094 kB / 0.6193 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.5885, allocations: 58.62 kB / 0.6194 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.5886, allocations: 13.41 kB / 0.6194 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-06/0.5886, allocations: 3.469 kB / 0.6194 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003918/0.589, allocations: 247.2 kB / 0.6196 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.589, allocations: 3.031 kB / 0.6197 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.589, allocations: 6.625 kB / 0.6197 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.5892, allocations: 62.97 kB / 0.6197 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5892, allocations: 7.328 kB / 0.6197 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.5895, allocations: 45.78 kB / 0.6198 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.5895, allocations: 16.27 kB / 0.6198 GB, free: 30.11 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.0001698/0.5897, allocations: 257.7 kB / 0.62 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.5898, allocations: 48.53 kB / 0.6201 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.5903, allocations: 276 kB / 0.6203 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.5903, allocations: 5.844 kB / 0.6203 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5903, allocations: 0 / 0.6203 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5903, allocations: 4 kB / 0.6203 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008955/0.5912, allocations: 0.7417 MB / 0.6211 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5912, allocations: 4.031 kB / 0.6211 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.5913, allocations: 35.69 kB / 0.6211 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.5914, allocations: 6.938 kB / 0.6211 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.5914, allocations: 4.656 kB / 0.6211 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.5914, allocations: 3.938 kB / 0.6211 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5914, allocations: 3 kB / 0.6211 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.5918, allocations: 362.1 kB / 0.6215 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.5919, allocations: 164.4 kB / 0.6216 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.592, allocations: 3.188 kB / 0.6216 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.5922, allocations: 21.59 kB / 0.6217 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.5922, allocations: 13.81 kB / 0.6217 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.5922, allocations: 9.875 kB / 0.6217 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000358/0.5926, allocations: 413.6 kB / 0.6221 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5926, allocations: 4 kB / 0.6221 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006936/0.5933, allocations: 235.4 kB / 0.6223 GB, free: 29.02 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.001053/0.5944, allocations: 490.8 kB / 0.6228 GB, free: 28.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006154/0.595, allocations: 335 kB / 0.6231 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.595, allocations: 2.734 kB / 0.6231 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.5952, allocations: 92.84 kB / 0.6232 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.5963, allocations: 251.3 kB / 0.6234 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.5975, allocations: 0.9635 MB / 0.6244 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.5978, allocations: 0.8438 MB / 0.6252 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003628/0.5982, allocations: 100.9 kB / 0.6253 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.5982, allocations: 42.81 kB / 0.6253 GB, free: 27.56 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.5983, allocations: 0 / 0.6253 GB, free: 27.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.0153/0.6136, allocations: 9.591 MB / 0.6347 GB, free: 26.79 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)