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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.009493/0.009493, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8177/0.8177, allocations: 135.2 MB / 151.1 MB, free: 13.84 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.592/1.592, allocations: 223.2 MB / 406.9 MB, free: 3.207 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.0009501/0.0009501, allocations: 101.6 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004982, allocations: 16 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5086, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7572/1.266, allocations: 359.4 MB / 1 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004454/1.266, allocations: 100.6 kB / 1.001 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6897/1.956, allocations: 178.9 MB / 1.175 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.142e-06/1.956, allocations: 0 / 1.175 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.964e-05/1.956, allocations: 19.98 kB / 1.175 GB, free: 150.9 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00111/1.957, allocations: 0.8214 MB / 1.176 GB, free: 150 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.011e-05/1.957, allocations: 16.03 kB / 1.176 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/1.957, allocations: 59.3 kB / 1.176 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/1.958, allocations: 433.3 kB / 1.177 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/1.958, allocations: 20.44 kB / 1.177 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/1.958, allocations: 31.94 kB / 1.177 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/1.958, allocations: 207.2 kB / 1.177 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.959, allocations: 12 kB / 1.177 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/1.959, allocations: 11.98 kB / 1.177 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.959, allocations: 4 kB / 1.177 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/1.959, allocations: 169.6 kB / 1.177 GB, free: 149 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.001276/1.96, allocations: 0.942 MB / 1.178 GB, free: 148 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/1.96, allocations: 142.5 kB / 1.178 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/1.961, allocations: 336.4 kB / 1.178 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/1.961, allocations: 38.56 kB / 1.178 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/1.961, allocations: 0 / 1.178 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0005074/1.961, allocations: 260.5 kB / 1.179 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/1.961, allocations: 55.41 kB / 1.179 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/1.962, allocations: 417.2 kB / 1.179 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/1.962, allocations: 29.7 kB / 1.179 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/1.962, allocations: 232.6 kB / 1.179 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/1.962, allocations: 43.36 kB / 1.179 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-06/1.962, allocations: 4 kB / 1.179 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.947e-05/1.962, allocations: 354.8 kB / 1.18 GB, free: 146 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/1.962, allocations: 63.95 kB / 1.18 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/1.962, allocations: 181.3 kB / 1.18 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/1.962, allocations: 100.7 kB / 1.18 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.962, allocations: 0 / 1.18 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003975/1.963, allocations: 258.4 kB / 1.18 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.303e-05/1.963, allocations: 267 kB / 1.181 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.963, allocations: 0 / 1.181 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/1.963, allocations: 7.953 kB / 1.181 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/1.963, allocations: 55.91 kB / 1.181 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/1.963, allocations: 4 kB / 1.181 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/1.963, allocations: 47.66 kB / 1.181 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/1.964, allocations: 11.98 kB / 1.181 GB, free: 145 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/1.964, allocations: 4 kB / 1.181 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003357/1.964, allocations: 185.2 kB / 1.181 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-06/1.964, allocations: 0 / 1.181 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-06/1.964, allocations: 0 / 1.181 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/1.964, allocations: 55.91 kB / 1.181 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/1.964, allocations: 4 kB / 1.181 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/1.964, allocations: 47.7 kB / 1.181 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/1.964, allocations: 8 kB / 1.181 GB, free: 144.7 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001723/1.965, allocations: 251.2 kB / 1.181 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/1.965, allocations: 43.53 kB / 1.181 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/1.965, allocations: 262.7 kB / 1.182 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.965, allocations: 15.92 kB / 1.182 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.965, allocations: 0 / 1.182 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.965, allocations: 0 / 1.182 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007872/1.966, allocations: 0.7162 MB / 1.182 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.966, allocations: 0 / 1.182 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/1.966, allocations: 27.98 kB / 1.182 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.966, allocations: 4 kB / 1.182 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/1.966, allocations: 11.92 kB / 1.182 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/1.966, allocations: 4 kB / 1.182 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.966, allocations: 0 / 1.182 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/1.967, allocations: 403.6 kB / 1.183 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/1.967, allocations: 144.5 kB / 1.183 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/1.967, allocations: 8 kB / 1.183 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/1.967, allocations: 35.81 kB / 1.183 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/1.967, allocations: 11.98 kB / 1.183 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/1.967, allocations: 11.98 kB / 1.183 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000265/1.967, allocations: 330.9 kB / 1.183 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.967, allocations: 0 / 1.183 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006931/1.968, allocations: 227.8 kB / 1.183 GB, free: 142 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 (16): * Single equations (assignments): 14 * 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.001161/1.969, allocations: 0.5651 MB / 1.184 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005763/1.97, allocations: 287.7 kB / 1.184 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.97, allocations: 0 / 1.184 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/1.97, allocations: 92.08 kB / 1.184 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000991/1.971, allocations: 223.9 kB / 1.185 GB, free: 141 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/1.972, allocations: 0.8523 MB / 1.185 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/1.972, allocations: 0.8311 MB / 1.186 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002994/1.973, allocations: 91.59 kB / 1.186 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.811e-05/1.973, allocations: 39.44 kB / 1.186 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.243e-06/1.973, allocations: 4 kB / 1.186 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.01584/1.989, allocations: 9.255 MB / 1.195 GB, free: 130 MB / 0.6823 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)