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.001669/0.001669, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7505/0.7505, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.46/1.46, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009345/0.0009345, allocations: 90.3 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.684e-05, allocations: 3.375 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1452, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.334, allocations: 359.3 MB / 0.9914 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/1.335, allocations: 92.19 kB / 0.9915 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3316/1.666, allocations: 178.5 MB / 1.166 GB, free: 67.74 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/1.666, allocations: 0 / 1.166 GB, free: 67.74 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.251e-05/1.666, allocations: 19.98 kB / 1.166 GB, free: 67.72 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.001062/1.668, allocations: 0.7318 MB / 1.167 GB, free: 66.94 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.668, allocations: 16.03 kB / 1.167 GB, free: 66.92 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/1.668, allocations: 58.53 kB / 1.167 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.704e-05/1.668, allocations: 59.3 kB / 1.167 GB, free: 66.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006232/1.668, allocations: 413.5 kB / 1.167 GB, free: 66.35 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/1.668, allocations: 24.44 kB / 1.167 GB, free: 66.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/1.668, allocations: 31.94 kB / 1.167 GB, free: 66.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/1.669, allocations: 191.3 kB / 1.167 GB, free: 66.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.669, allocations: 0 / 1.167 GB, free: 66.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/1.669, allocations: 4 kB / 1.167 GB, free: 66.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/1.669, allocations: 12 kB / 1.167 GB, free: 66.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/1.669, allocations: 133.7 kB / 1.167 GB, free: 65.96 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.001374/1.67, allocations: 0.9536 MB / 1.168 GB, free: 64.92 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/1.671, allocations: 118.5 kB / 1.168 GB, free: 64.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.729e-05/1.671, allocations: 56.83 kB / 1.169 GB, free: 64.74 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/1.671, allocations: 336.4 kB / 1.169 GB, free: 64.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/1.671, allocations: 34.56 kB / 1.169 GB, free: 64.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/1.671, allocations: 7.938 kB / 1.169 GB, free: 64.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0003137/1.671, allocations: 172.2 kB / 1.169 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/1.671, allocations: 51.41 kB / 1.169 GB, free: 64.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/1.672, allocations: 415.8 kB / 1.17 GB, free: 63.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/1.672, allocations: 33.7 kB / 1.17 GB, free: 63.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/1.672, allocations: 232.4 kB / 1.17 GB, free: 63.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/1.672, allocations: 47.3 kB / 1.17 GB, free: 63.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/1.672, allocations: 8 kB / 1.17 GB, free: 63.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/1.672, allocations: 354.8 kB / 1.17 GB, free: 62.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.513e-05/1.672, allocations: 51.98 kB / 1.17 GB, free: 62.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/1.672, allocations: 147.1 kB / 1.17 GB, free: 62.72 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/1.672, allocations: 77.53 kB / 1.17 GB, free: 62.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.672, allocations: 0 / 1.17 GB, free: 62.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002975/1.673, allocations: 225 kB / 1.171 GB, free: 62.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.035e-05/1.673, allocations: 272.4 kB / 1.171 GB, free: 62.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.673, allocations: 3.953 kB / 1.171 GB, free: 62.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.673, allocations: 0 / 1.171 GB, free: 62.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/1.673, allocations: 55.91 kB / 1.171 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/1.673, allocations: 0 / 1.171 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/1.673, allocations: 55.7 kB / 1.171 GB, free: 62.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/1.673, allocations: 8 kB / 1.171 GB, free: 62.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/1.673, allocations: 4 kB / 1.171 GB, free: 62.01 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002406/1.674, allocations: 144.5 kB / 1.171 GB, free: 61.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/1.674, allocations: 0 / 1.171 GB, free: 61.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-06/1.674, allocations: 0 / 1.171 GB, free: 61.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/1.674, allocations: 55.91 kB / 1.171 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/1.674, allocations: 0 / 1.171 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/1.674, allocations: 55.64 kB / 1.171 GB, free: 61.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/1.674, allocations: 8 kB / 1.171 GB, free: 61.75 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 6.425e-05/1.674, allocations: 124.9 kB / 1.171 GB, free: 61.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/1.674, allocations: 39.53 kB / 1.171 GB, free: 61.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/1.675, allocations: 230 kB / 1.172 GB, free: 61.35 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/1.675, allocations: 0 / 1.172 GB, free: 61.35 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.675, allocations: 4 kB / 1.172 GB, free: 61.35 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.675, allocations: 0 / 1.172 GB, free: 61.35 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006601/1.675, allocations: 0.6849 MB / 1.172 GB, free: 60.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.675, allocations: 4 kB / 1.172 GB, free: 60.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/1.676, allocations: 31.92 kB / 1.172 GB, free: 60.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.676, allocations: 7.984 kB / 1.172 GB, free: 60.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/1.676, allocations: 192 / 1.172 GB, free: 60.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.676, allocations: 4 kB / 1.172 GB, free: 60.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.676, allocations: 0 / 1.172 GB, free: 60.55 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/1.676, allocations: 374.4 kB / 1.173 GB, free: 60.13 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/1.676, allocations: 152.4 kB / 1.173 GB, free: 59.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/1.676, allocations: 8 kB / 1.173 GB, free: 59.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/1.676, allocations: 23.88 kB / 1.173 GB, free: 59.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/1.676, allocations: 15.98 kB / 1.173 GB, free: 59.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/1.676, allocations: 8 kB / 1.173 GB, free: 59.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002776/1.677, allocations: 329.6 kB / 1.173 GB, free: 59.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/1.677, allocations: 0 / 1.173 GB, free: 59.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006953/1.677, allocations: 227.7 kB / 1.173 GB, free: 59.37 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.001531/1.679, allocations: 1.616 MB / 1.175 GB, free: 57.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003805/1.679, allocations: 244 kB / 1.175 GB, free: 57.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.679, allocations: 0 / 1.175 GB, free: 57.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/1.68, allocations: 79.84 kB / 1.175 GB, free: 57.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/1.681, allocations: 232.2 kB / 1.176 GB, free: 57.28 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/1.682, allocations: 0.6185 MB / 1.176 GB, free: 56.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/1.682, allocations: 0.8395 MB / 1.177 GB, free: 55.73 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003729/1.682, allocations: 127.2 kB / 1.177 GB, free: 55.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/1.682, allocations: 131.4 kB / 1.177 GB, free: 55.48 MB / 0.6823 GB Notification: Performance of SimCode: time 4.21e-07/1.682, allocations: 0 / 1.177 GB, free: 55.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/1.708, allocations: 14.67 MB / 1.192 GB, free: 41.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/1.708, allocations: 188.6 kB / 1.192 GB, free: 40.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/4.208, allocations: 0 / 1.192 GB, free: 40.8 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)