Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_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.009358/0.009358, allocations: 169.6 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8279/0.8279, allocations: 135.2 MB / 151 MB, free: 13.8 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.596/1.596, allocations: 223.2 MB / 406.8 MB, free: 3.141 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.0009804/0.0009801, allocations: 95.69 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003062, allocations: 8 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3724, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7221/1.095, allocations: 359.4 MB / 1.001 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/1.095, allocations: 97.56 kB / 1.001 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6073/1.702, allocations: 179 MB / 1.175 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.923e-06/1.702, allocations: 0 / 1.175 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.958e-05/1.702, 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.001242/1.703, allocations: 0.8293 MB / 1.176 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/1.704, allocations: 12.02 kB / 1.176 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.064e-05/1.704, allocations: 54.55 kB / 1.176 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/1.704, allocations: 59.3 kB / 1.176 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/1.704, allocations: 441.3 kB / 1.177 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/1.704, allocations: 20.44 kB / 1.177 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/1.704, allocations: 28 kB / 1.177 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/1.705, allocations: 211.2 kB / 1.177 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.705, allocations: 0 / 1.177 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/1.705, allocations: 4 kB / 1.177 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/1.705, allocations: 4 kB / 1.177 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/1.705, allocations: 185.5 kB / 1.177 GB, free: 148.8 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.001372/1.707, allocations: 0.9459 MB / 1.178 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/1.707, allocations: 134.6 kB / 1.178 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/1.707, allocations: 344.5 kB / 1.179 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/1.707, allocations: 34.56 kB / 1.179 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/1.707, allocations: 0 / 1.179 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0005536/1.708, allocations: 253.8 kB / 1.179 GB, free: 147 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/1.708, allocations: 51.41 kB / 1.179 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/1.708, allocations: 421.2 kB / 1.179 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/1.708, allocations: 29.7 kB / 1.179 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/1.708, allocations: 232.6 kB / 1.18 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/1.708, allocations: 39.36 kB / 1.18 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/1.708, allocations: 8 kB / 1.18 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/1.708, allocations: 358.7 kB / 1.18 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/1.709, allocations: 67.95 kB / 1.18 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/1.709, allocations: 183.4 kB / 1.18 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/1.709, allocations: 89.12 kB / 1.18 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.709, allocations: 0 / 1.18 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004175/1.709, allocations: 257.7 kB / 1.18 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.283e-05/1.709, allocations: 276.3 kB / 1.181 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.709, allocations: 0 / 1.181 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.709, allocations: 7.953 kB / 1.181 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/1.71, allocations: 43.97 kB / 1.181 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/1.71, allocations: 4 kB / 1.181 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/1.71, allocations: 59.58 kB / 1.181 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/1.71, allocations: 12 kB / 1.181 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/1.71, allocations: 4 kB / 1.181 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003474/1.711, allocations: 189.9 kB / 1.181 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/1.711, allocations: 0 / 1.181 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-06/1.711, allocations: 0 / 1.181 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/1.711, allocations: 47.97 kB / 1.181 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/1.711, allocations: 0 / 1.181 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/1.711, allocations: 55.66 kB / 1.181 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/1.711, allocations: 15.98 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.0001781/1.711, allocations: 237.3 kB / 1.181 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/1.711, allocations: 39.53 kB / 1.181 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/1.712, allocations: 273.1 kB / 1.182 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.609e-06/1.712, allocations: 4 kB / 1.182 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.712, allocations: 3.984 kB / 1.182 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.712, allocations: 0 / 1.182 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008169/1.713, allocations: 0.7161 MB / 1.182 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.713, allocations: 4.125 kB / 1.182 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/1.713, allocations: 39.91 kB / 1.182 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.713, allocations: 4 kB / 1.182 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/1.713, allocations: 3.938 kB / 1.182 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.713, allocations: 4 kB / 1.182 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.713, allocations: 0 / 1.182 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/1.713, allocations: 403.6 kB / 1.183 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/1.713, allocations: 144.5 kB / 1.183 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/1.713, allocations: 4 kB / 1.183 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/1.714, allocations: 35.81 kB / 1.183 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/1.714, allocations: 15.92 kB / 1.183 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/1.714, allocations: 12 kB / 1.183 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000276/1.714, allocations: 326.9 kB / 1.183 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.714, allocations: 0 / 1.183 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007286/1.715, allocations: 223.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.001825/1.717, allocations: 1.693 MB / 1.185 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005897/1.717, allocations: 277.4 kB / 1.185 GB, free: 140 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.717, allocations: 4 kB / 1.185 GB, free: 140 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/1.717, allocations: 99.81 kB / 1.186 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009537/1.718, allocations: 213 kB / 1.186 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/1.72, allocations: 1.5 MB / 1.187 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/1.72, allocations: 0.8426 MB / 1.188 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002844/1.72, allocations: 91.22 kB / 1.188 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/1.721, allocations: 139.4 kB / 1.188 GB, free: 137 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/1.721, allocations: 4 kB / 1.188 GB, free: 137 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/1.745, allocations: 13.64 MB / 1.202 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/1.745, allocations: 219 kB / 1.202 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/4.119, allocations: 4.062 kB / 1.202 GB, free: 123.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)