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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01151/0.01151, allocations: 171.1 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.8156/0.8156, allocations: 135.2 MB / 151 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.501/1.501, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0008887/0.0008887, allocations: 99.48 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003649, allocations: 16 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3525, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6458/0.9984, allocations: 359.4 MB / 1.001 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.9988, allocations: 98.31 kB / 1.001 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6451/1.644, allocations: 178.9 MB / 1.175 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/1.644, allocations: 4 kB / 1.175 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.02e-05/1.644, allocations: 16 kB / 1.175 GB, free: 150.8 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.001178/1.645, allocations: 0.8254 MB / 1.176 GB, free: 150 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.645, allocations: 8.031 kB / 1.176 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/1.645, allocations: 58.55 kB / 1.176 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/1.645, allocations: 63.3 kB / 1.176 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/1.646, allocations: 433.3 kB / 1.177 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/1.646, allocations: 24.44 kB / 1.177 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/1.646, allocations: 28 kB / 1.177 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/1.646, allocations: 211.2 kB / 1.177 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.646, allocations: 0 / 1.177 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/1.646, allocations: 12 kB / 1.177 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.646, allocations: 4 kB / 1.177 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/1.647, allocations: 173.6 kB / 1.177 GB, free: 148.9 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.001288/1.648, allocations: 0.9459 MB / 1.178 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/1.648, allocations: 143.9 kB / 1.178 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/1.649, allocations: 340.5 kB / 1.179 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.219e-05/1.649, allocations: 38.56 kB / 1.179 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/1.649, allocations: 0 / 1.179 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0005009/1.649, allocations: 253 kB / 1.179 GB, free: 147 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/1.649, allocations: 51.41 kB / 1.179 GB, free: 147 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/1.649, allocations: 421.2 kB / 1.179 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/1.649, allocations: 29.7 kB / 1.179 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/1.65, allocations: 232.6 kB / 1.18 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/1.65, allocations: 43.36 kB / 1.18 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/1.65, allocations: 4 kB / 1.18 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/1.65, allocations: 358.7 kB / 1.18 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/1.65, allocations: 63.95 kB / 1.18 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/1.65, allocations: 178.3 kB / 1.18 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/1.65, allocations: 100.5 kB / 1.18 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.65, allocations: 0 / 1.18 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004049/1.651, allocations: 254.1 kB / 1.18 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/1.651, allocations: 271.6 kB / 1.181 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.651, allocations: 0 / 1.181 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/1.651, allocations: 7.953 kB / 1.181 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/1.651, allocations: 55.91 kB / 1.181 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/1.651, allocations: 4 kB / 1.181 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/1.651, allocations: 47.66 kB / 1.181 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/1.651, allocations: 11.98 kB / 1.181 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.622e-06/1.651, allocations: 4 kB / 1.181 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003433/1.652, allocations: 184.9 kB / 1.181 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-06/1.652, allocations: 0 / 1.181 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-06/1.652, allocations: 0 / 1.181 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/1.652, allocations: 55.91 kB / 1.181 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/1.652, allocations: 4 kB / 1.181 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/1.652, allocations: 51.7 kB / 1.181 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/1.652, allocations: 8 kB / 1.181 GB, free: 144.5 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.000141/1.652, allocations: 241.2 kB / 1.181 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/1.653, allocations: 43.53 kB / 1.181 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/1.653, allocations: 267.5 kB / 1.182 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.653, allocations: 8 kB / 1.182 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.653, allocations: 0 / 1.182 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.653, allocations: 3.984 kB / 1.182 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007794/1.654, allocations: 0.72 MB / 1.182 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.654, allocations: 0 / 1.182 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/1.654, allocations: 31.92 kB / 1.182 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.654, allocations: 4 kB / 1.182 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/1.654, allocations: 8 kB / 1.182 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.654, allocations: 4 kB / 1.182 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.654, allocations: 0 / 1.182 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/1.654, allocations: 407.8 kB / 1.183 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/1.655, allocations: 144.5 kB / 1.183 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/1.655, allocations: 8 kB / 1.183 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/1.655, allocations: 35.81 kB / 1.183 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/1.655, allocations: 11.98 kB / 1.183 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/1.655, allocations: 8 kB / 1.183 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000276/1.655, allocations: 330.9 kB / 1.183 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.655, allocations: 0 / 1.183 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007153/1.656, allocations: 227.8 kB / 1.184 GB, free: 141.9 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.001627/1.658, allocations: 1.684 MB / 1.185 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005973/1.658, allocations: 284.1 kB / 1.185 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.658, allocations: 8 kB / 1.185 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/1.658, allocations: 83.89 kB / 1.186 GB, free: 140 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/1.659, allocations: 218.6 kB / 1.186 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/1.661, allocations: 1.498 MB / 1.187 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/1.661, allocations: 0.8465 MB / 1.188 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002862/1.661, allocations: 95.22 kB / 1.188 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/1.662, allocations: 147.4 kB / 1.188 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of SimCode: time 6.702e-06/1.662, allocations: 0 / 1.188 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/1.686, allocations: 13.64 MB / 1.202 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/1.686, allocations: 223.6 kB / 1.202 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/3.967, allocations: 4 kB / 1.202 GB, free: 123.4 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)