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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.002044/0.002044, allocations: 177.5 kB / 7.648 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 1.316/1.316, allocations: 133.5 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.59/2.59, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.001406/0.001406, allocations: 103 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.282e-05, allocations: 4 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9591/0.9591, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.427/2.386, allocations: 363.2 MB / 0.9886 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004118/2.387, allocations: 102.7 kB / 0.9887 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.188/3.575, allocations: 177.5 MB / 1.162 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.033e-06/3.575, allocations: 4 kB / 1.162 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.871e-05/3.575, allocations: 12 kB / 1.162 GB, free: 180.2 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.001349/3.576, allocations: 0.7846 MB / 1.163 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/3.576, allocations: 8.031 kB / 1.163 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/3.576, allocations: 63.3 kB / 1.163 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008785/3.577, allocations: 455.9 kB / 1.163 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/3.577, allocations: 8 kB / 1.163 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/3.577, allocations: 20 kB / 1.163 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003012/3.578, allocations: 141.1 kB / 1.163 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/3.578, allocations: 237.1 kB / 1.164 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/3.578, allocations: 3.984 kB / 1.164 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/3.578, allocations: 0 / 1.164 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/3.578, allocations: 8 kB / 1.164 GB, free: 178.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.001823/3.58, allocations: 1.449 MB / 1.165 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/3.58, allocations: 130.9 kB / 1.165 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.138e-05/3.58, allocations: 64.84 kB / 1.165 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/3.582, allocations: 1.293 MB / 1.167 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/3.582, allocations: 34.56 kB / 1.167 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/3.582, allocations: 0 / 1.167 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0005201/3.582, allocations: 186.5 kB / 1.167 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/3.582, allocations: 55.34 kB / 1.167 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005317/3.583, allocations: 473.2 kB / 1.167 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/3.583, allocations: 25.7 kB / 1.167 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/3.583, allocations: 268.3 kB / 1.168 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/3.583, allocations: 51.25 kB / 1.168 GB, free: 174 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/3.583, allocations: 0 / 1.168 GB, free: 174 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.596e-05/3.583, allocations: 358.7 kB / 1.168 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.758e-05/3.583, allocations: 56.55 kB / 1.168 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/3.584, allocations: 201.1 kB / 1.168 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/3.584, allocations: 101.4 kB / 1.168 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/3.584, allocations: 4 kB / 1.168 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004677/3.584, allocations: 266.7 kB / 1.169 GB, free: 173 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002302/3.585, allocations: 0.9678 MB / 1.17 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/3.585, allocations: 0 / 1.17 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/3.585, allocations: 8 kB / 1.17 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/3.585, allocations: 67.91 kB / 1.17 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/3.585, allocations: 4 kB / 1.17 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/3.585, allocations: 39.75 kB / 1.17 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/3.585, allocations: 15.98 kB / 1.17 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/3.585, allocations: 8 kB / 1.17 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004526/3.586, allocations: 183.7 kB / 1.17 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/3.586, allocations: 4 kB / 1.17 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-06/3.586, allocations: 4 kB / 1.17 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/3.586, allocations: 71.89 kB / 1.17 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/3.586, allocations: 8.188 kB / 1.17 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/3.586, allocations: 39.72 kB / 1.17 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/3.586, allocations: 12 kB / 1.17 GB, free: 171.5 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 () * 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.0001079/3.587, allocations: 118.6 kB / 1.17 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003259/3.587, allocations: 170.7 kB / 1.17 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/3.587, allocations: 47.42 kB / 1.17 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/3.587, allocations: 229.5 kB / 1.171 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/3.587, allocations: 11.86 kB / 1.171 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/3.587, allocations: 0 / 1.171 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/3.587, allocations: 0 / 1.171 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000902/3.588, allocations: 0.6788 MB / 1.171 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/3.588, allocations: 4 kB / 1.171 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/3.589, allocations: 31.92 kB / 1.171 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/3.589, allocations: 4 kB / 1.171 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/3.589, allocations: 11.98 kB / 1.171 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/3.589, allocations: 4 kB / 1.171 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/3.589, allocations: 0 / 1.171 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/3.589, allocations: 370.1 kB / 1.172 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/3.589, allocations: 156.5 kB / 1.172 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/3.589, allocations: 7.984 kB / 1.172 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/3.589, allocations: 19.92 kB / 1.172 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/3.59, allocations: 11.98 kB / 1.172 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/3.59, allocations: 11.95 kB / 1.172 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003396/3.59, allocations: 362.9 kB / 1.172 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/3.59, allocations: 3.938 kB / 1.172 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009286/3.591, allocations: 255.6 kB / 1.172 GB, free: 168.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 () * 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.00195/3.593, allocations: 1.638 MB / 1.174 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005297/3.593, allocations: 292.3 kB / 1.174 GB, free: 167 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/3.593, allocations: 0 / 1.174 GB, free: 167 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/3.594, allocations: 72.92 kB / 1.174 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/3.595, allocations: 211.7 kB / 1.175 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/3.596, allocations: 0.7042 MB / 1.175 GB, free: 166 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/3.597, allocations: 0.8553 MB / 1.176 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005442/3.597, allocations: 176 kB / 1.176 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/3.597, allocations: 151.4 kB / 1.176 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of SimCode: time 7.41e-07/3.597, allocations: 0 / 1.176 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0398/3.637, allocations: 14.09 MB / 1.19 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/3.637, allocations: 174.9 kB / 1.19 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.876/7.514, allocations: 0 / 1.19 GB, free: 150.6 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)