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.001802/0.001802, allocations: 177.5 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8497/0.8497, allocations: 133.6 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.5 MB / 395.4 MB, free: 10.73 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.0009491/0.0009491, allocations: 103.2 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.302e-05, allocations: 4 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4942, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8537/1.348, allocations: 358.7 MB / 0.9842 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.348, allocations: 94.38 kB / 0.9843 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.8167/2.165, allocations: 177.2 MB / 1.157 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/2.165, allocations: 7.938 kB / 1.157 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.367e-05/2.165, allocations: 23.45 kB / 1.157 GB, free: 185.1 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.00147/2.167, allocations: 0.7305 MB / 1.158 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/2.167, allocations: 8.031 kB / 1.158 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/2.167, allocations: 59.3 kB / 1.158 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008739/2.168, allocations: 438.1 kB / 1.159 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/2.168, allocations: 4 kB / 1.159 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/2.168, allocations: 20 kB / 1.159 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002686/2.168, allocations: 124.8 kB / 1.159 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/2.168, allocations: 154.4 kB / 1.159 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/2.168, allocations: 7.984 kB / 1.159 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/2.168, allocations: 0 / 1.159 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/2.168, allocations: 7.953 kB / 1.159 GB, free: 183.4 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.001621/2.17, allocations: 0.8885 MB / 1.16 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/2.17, allocations: 114.6 kB / 1.16 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.54e-05/2.17, allocations: 52.84 kB / 1.16 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/2.171, allocations: 339.8 kB / 1.16 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/2.171, allocations: 34.56 kB / 1.16 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/2.171, allocations: 0 / 1.16 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0004484/2.171, allocations: 170.2 kB / 1.16 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/2.171, allocations: 51.41 kB / 1.16 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/2.171, allocations: 373.1 kB / 1.161 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/2.172, allocations: 25.7 kB / 1.161 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/2.172, allocations: 228.7 kB / 1.161 GB, free: 181 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/2.172, allocations: 43.36 kB / 1.161 GB, free: 181 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/2.172, allocations: 0 / 1.161 GB, free: 181 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.172e-05/2.172, allocations: 346.8 kB / 1.161 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/2.172, allocations: 51.98 kB / 1.161 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/2.172, allocations: 148.8 kB / 1.162 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/2.172, allocations: 83.73 kB / 1.162 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/2.172, allocations: 0 / 1.162 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003721/2.173, allocations: 218.3 kB / 1.162 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.234e-05/2.173, allocations: 271 kB / 1.162 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/2.173, allocations: 0 / 1.162 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/2.173, allocations: 7.938 kB / 1.162 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/2.173, allocations: 51.91 kB / 1.162 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/2.173, allocations: 7.953 kB / 1.162 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/2.173, allocations: 39.72 kB / 1.162 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/2.173, allocations: 15.98 kB / 1.162 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/2.173, allocations: 8 kB / 1.162 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003085/2.174, allocations: 132.8 kB / 1.162 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/2.174, allocations: 192 / 1.162 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/2.174, allocations: 4 kB / 1.162 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/2.174, allocations: 47.91 kB / 1.162 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/2.174, allocations: 4 kB / 1.162 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/2.174, allocations: 43.8 kB / 1.162 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/2.174, allocations: 15.98 kB / 1.162 GB, free: 179.4 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 () * 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 8.481e-05/2.175, allocations: 108.9 kB / 1.163 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002869/2.175, allocations: 168.2 kB / 1.163 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/2.175, allocations: 35.53 kB / 1.163 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/2.175, allocations: 217.9 kB / 1.163 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/2.175, allocations: 0 / 1.163 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/2.175, allocations: 0 / 1.163 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/2.175, allocations: 0 / 1.163 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007648/2.176, allocations: 0.6339 MB / 1.164 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/2.176, allocations: 128 / 1.164 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/2.176, allocations: 35.92 kB / 1.164 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/2.176, allocations: 4 kB / 1.164 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/2.176, allocations: 0 / 1.164 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/2.176, allocations: 4 kB / 1.164 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/2.176, allocations: 0 / 1.164 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/2.177, allocations: 362.2 kB / 1.164 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/2.177, allocations: 140.6 kB / 1.164 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/2.177, allocations: 3.938 kB / 1.164 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/2.177, allocations: 35.81 kB / 1.164 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/2.177, allocations: 7.984 kB / 1.164 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/2.177, allocations: 8 kB / 1.164 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002876/2.177, allocations: 282.9 kB / 1.164 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/2.177, allocations: 0 / 1.164 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007937/2.178, allocations: 227.6 kB / 1.165 GB, free: 177 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 () * 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.001596/2.18, allocations: 1.58 MB / 1.166 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003922/2.18, allocations: 235.6 kB / 1.166 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/2.18, allocations: 0 / 1.166 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/2.18, allocations: 63.92 kB / 1.166 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/2.181, allocations: 190.6 kB / 1.167 GB, free: 175 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/2.183, allocations: 0.612 MB / 1.167 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/2.183, allocations: 0.839 MB / 1.168 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003696/2.183, allocations: 115.1 kB / 1.168 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/2.183, allocations: 131.4 kB / 1.168 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/2.183, allocations: 7.938 kB / 1.168 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/2.214, allocations: 12.01 MB / 1.18 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/2.215, allocations: 164.5 kB / 1.18 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.525/4.739, allocations: 0 / 1.18 GB, free: 161.2 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)