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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01124/0.01124, allocations: 168.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9451/0.9451, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 223.2 MB / 406.9 MB, free: 3.219 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 90.05 kB / 490 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004457, allocations: 8 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.529, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8828/1.412, allocations: 363.9 MB / 1.005 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/1.412, allocations: 102.2 kB / 1.005 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.822/2.234, allocations: 179 MB / 1.18 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.257e-06/2.234, allocations: 0 / 1.18 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.466e-05/2.234, allocations: 16 kB / 1.18 GB, free: 145.5 MB / 0.6823 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.001763/2.236, allocations: 0.872 MB / 1.181 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/2.236, allocations: 12.03 kB / 1.181 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/2.236, allocations: 63.3 kB / 1.181 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008974/2.237, allocations: 457.4 kB / 1.181 GB, free: 144 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/2.237, allocations: 24.55 kB / 1.181 GB, free: 144 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/2.237, allocations: 28 kB / 1.181 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000558/2.238, allocations: 286.2 kB / 1.182 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/2.238, allocations: 7.938 kB / 1.182 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/2.238, allocations: 8 kB / 1.182 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/2.238, allocations: 8 kB / 1.182 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004781/2.239, allocations: 198.1 kB / 1.182 GB, free: 143.4 MB / 0.6823 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.002183/2.241, allocations: 1.515 MB / 1.183 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/2.241, allocations: 158.8 kB / 1.183 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/2.243, allocations: 1.292 MB / 1.185 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/2.243, allocations: 46.5 kB / 1.185 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 3.166e-06/2.243, allocations: 0 / 1.185 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0007415/2.244, allocations: 261.8 kB / 1.185 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/2.244, allocations: 51.41 kB / 1.185 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000746/2.245, allocations: 0.5176 MB / 1.185 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/2.245, allocations: 29.7 kB / 1.185 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/2.245, allocations: 268.2 kB / 1.186 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/2.245, allocations: 59.19 kB / 1.186 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/2.245, allocations: 8 kB / 1.186 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001207/2.245, allocations: 362.7 kB / 1.186 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/2.245, allocations: 80.52 kB / 1.186 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/2.246, allocations: 225.3 kB / 1.186 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/2.246, allocations: 103.9 kB / 1.187 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/2.246, allocations: 8 kB / 1.187 GB, free: 138 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006681/2.246, allocations: 315 kB / 1.187 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002357/2.247, allocations: 0.9672 MB / 1.188 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/2.247, allocations: 4 kB / 1.188 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/2.247, allocations: 4 kB / 1.188 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/2.247, allocations: 71.84 kB / 1.188 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/2.247, allocations: 4 kB / 1.188 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/2.248, allocations: 51.66 kB / 1.188 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/2.248, allocations: 16 kB / 1.188 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/2.248, allocations: 4 kB / 1.188 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000553/2.248, allocations: 243.7 kB / 1.188 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/2.248, allocations: 8 kB / 1.188 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/2.248, allocations: 4 kB / 1.188 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/2.249, allocations: 63.91 kB / 1.188 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/2.249, allocations: 7.938 kB / 1.188 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/2.249, allocations: 55.78 kB / 1.188 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/2.249, allocations: 15.98 kB / 1.188 GB, free: 136.2 MB / 0.6823 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.0003414/2.249, allocations: 261 kB / 1.189 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.529e-05/2.25, allocations: 47.44 kB / 1.189 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006948/2.25, allocations: 271.4 kB / 1.189 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/2.25, allocations: 4 kB / 1.189 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/2.25, allocations: 0 / 1.189 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/2.25, allocations: 0 / 1.189 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/2.252, allocations: 0.7653 MB / 1.19 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/2.252, allocations: 0 / 1.19 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/2.252, allocations: 40.05 kB / 1.19 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/2.252, allocations: 0 / 1.19 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/2.252, allocations: 11.98 kB / 1.19 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/2.252, allocations: 4 kB / 1.19 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/2.252, allocations: 0 / 1.19 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/2.252, allocations: 409.1 kB / 1.19 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/2.253, allocations: 156.4 kB / 1.19 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/2.253, allocations: 8 kB / 1.19 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/2.253, allocations: 19.92 kB / 1.19 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/2.253, allocations: 11.98 kB / 1.19 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/2.253, allocations: 15.95 kB / 1.19 GB, free: 134 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005427/2.254, allocations: 410.8 kB / 1.191 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/2.254, allocations: 0 / 1.191 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001226/2.255, allocations: 279.5 kB / 1.191 GB, free: 133.3 MB / 0.6823 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.001671/2.257, allocations: 0.6149 MB / 1.192 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009222/2.257, allocations: 342.5 kB / 1.192 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/2.257, allocations: 0 / 1.192 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/2.258, allocations: 92.58 kB / 1.192 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/2.259, allocations: 249.5 kB / 1.192 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/2.261, allocations: 0.9646 MB / 1.193 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/2.261, allocations: 0.8587 MB / 1.194 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005342/2.262, allocations: 104.2 kB / 1.194 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/2.262, allocations: 47.42 kB / 1.194 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.202e-06/2.262, allocations: 4 kB / 1.194 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.02457/2.287, allocations: 11.02 MB / 1.205 GB, free: 119.2 MB / 0.6823 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)