Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009399/0.0009399, allocations: 99.86 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.0008364/0.0008364, allocations: 177.3 kB / 15.95 MB, free: 216 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.224/1.224, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8401/0.8401, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003003, allocations: 8 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1582, allocations: 82.32 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0156/0.1738, allocations: 14.73 MB / 0.6016 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005804/0.1797, allocations: 4.228 MB / 0.6057 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005332/0.1802, allocations: 15.88 kB / 0.6057 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.2607/0.441, allocations: 236.1 kB / 0.606 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.4426, allocations: 0.5602 MB / 0.6065 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.4446, allocations: 0.762 MB / 0.6073 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008362/0.4454, allocations: 0.5968 MB / 0.6078 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.4458, allocations: 258.8 kB / 0.6081 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004245/0.4462, allocations: 331.2 kB / 0.6084 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.4464, allocations: 221.4 kB / 0.6086 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.4465, allocations: 18.81 kB / 0.6086 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007301/0.4472, allocations: 460.4 kB / 0.6091 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.014e-05/0.4473, allocations: 111.3 kB / 0.6092 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.4474, allocations: 112.5 kB / 0.6093 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.4479, allocations: 0.5406 MB / 0.6098 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4479, allocations: 3.562 kB / 0.6098 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4479, allocations: 1.641 kB / 0.6098 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.4479, allocations: 0 / 0.6098 GB, free: 34.66 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.0008668/0.4488, allocations: 0.774 MB / 0.6106 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.4488, allocations: 9.125 kB / 0.6106 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.4489, allocations: 65.11 kB / 0.6106 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.4494, allocations: 429.5 kB / 0.611 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.4494, allocations: 22.06 kB / 0.6111 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.4495, allocations: 30.22 kB / 0.6111 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.4499, allocations: 283.4 kB / 0.6114 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4499, allocations: 0 / 0.6114 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.4499, allocations: 10.56 kB / 0.6114 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.4499, allocations: 7.594 kB / 0.6114 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.4503, allocations: 207.6 kB / 0.6116 GB, free: 33.73 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.001413/0.4517, allocations: 1.473 MB / 0.613 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.452, allocations: 169.2 kB / 0.6132 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/0.4532, allocations: 1.286 MB / 0.6144 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.4532, allocations: 34.52 kB / 0.6145 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.4532, allocations: 3.469 kB / 0.6145 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005213/0.4537, allocations: 265.9 kB / 0.6147 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.4538, allocations: 54.28 kB / 0.6148 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000512/0.4543, allocations: 0.5821 MB / 0.6153 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.4543, allocations: 28.83 kB / 0.6154 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.4544, allocations: 278.8 kB / 0.6156 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.4545, allocations: 52.33 kB / 0.6157 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.4545, allocations: 2.812 kB / 0.6157 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.571e-05/0.4546, allocations: 358.8 kB / 0.616 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.4547, allocations: 74.92 kB / 0.6161 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.4549, allocations: 217.3 kB / 0.6163 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.4551, allocations: 100.5 kB / 0.6164 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4551, allocations: 6.859 kB / 0.6164 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004385/0.4556, allocations: 312.6 kB / 0.6167 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.4557, allocations: 0.9674 MB / 0.6177 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4557, allocations: 2.781 kB / 0.6177 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4557, allocations: 8.594 kB / 0.6177 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.456, allocations: 63.09 kB / 0.6177 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.456, allocations: 2.75 kB / 0.6177 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.4563, allocations: 63.05 kB / 0.6178 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.4563, allocations: 14.81 kB / 0.6178 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-06/0.4563, allocations: 5.281 kB / 0.6178 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003777/0.4567, allocations: 247.7 kB / 0.6181 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.4567, allocations: 2.781 kB / 0.6181 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-06/0.4567, allocations: 5.75 kB / 0.6181 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.4569, allocations: 58.8 kB / 0.6181 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.457, allocations: 9.281 kB / 0.6181 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.4572, allocations: 43.48 kB / 0.6182 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.4573, allocations: 15.06 kB / 0.6182 GB, free: 29.65 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.0001453/0.4574, allocations: 262.2 kB / 0.6184 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.4575, allocations: 49.88 kB / 0.6185 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/0.4579, allocations: 276 kB / 0.6187 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.4579, allocations: 3.422 kB / 0.6187 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.458, allocations: 3 kB / 0.6187 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.458, allocations: 4 kB / 0.6188 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007736/0.4587, allocations: 0.7406 MB / 0.6195 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4588, allocations: 4.031 kB / 0.6195 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.4589, allocations: 31.97 kB / 0.6195 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4589, allocations: 0 / 0.6195 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4589, allocations: 10.56 kB / 0.6195 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4589, allocations: 9.328 kB / 0.6195 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4589, allocations: 5.328 kB / 0.6195 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.4593, allocations: 411.1 kB / 0.6199 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.4594, allocations: 156.7 kB / 0.6201 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.4595, allocations: 3.406 kB / 0.6201 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.4597, allocations: 19.88 kB / 0.6201 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.4597, allocations: 17.02 kB / 0.6201 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.4598, allocations: 10.34 kB / 0.6201 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003241/0.4601, allocations: 414.8 kB / 0.6205 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4601, allocations: 3.281 kB / 0.6205 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006164/0.4607, allocations: 226.7 kB / 0.6207 GB, free: 28.52 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.0009143/0.4616, allocations: 497.6 kB / 0.6212 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005494/0.4622, allocations: 328.1 kB / 0.6215 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4622, allocations: 0 / 0.6215 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.4624, allocations: 100 kB / 0.6216 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.4634, allocations: 252.9 kB / 0.6219 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/0.4644, allocations: 0.9538 MB / 0.6228 GB, free: 27.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.4647, allocations: 0.8643 MB / 0.6236 GB, free: 27.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002811/0.4649, allocations: 97.89 kB / 0.6237 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.465, allocations: 39.09 kB / 0.6238 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.465, allocations: 0 / 0.6238 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.0125/0.4775, allocations: 9.573 MB / 0.6331 GB, free: 26.38 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: