Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves",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.00127/0.00127, 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 0.749/0.749, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.419/1.419, allocations: 221.5 MB / 395.5 MB, free: 10.74 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.0008952/0.0008953, allocations: 104 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.822e-05, allocations: 4 kB / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4222, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7265/1.149, allocations: 360.8 MB / 0.9863 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.149, allocations: 97.94 kB / 0.9864 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.693/2.842, allocations: 434.3 MB / 1.41 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.583e-06/2.842, allocations: 0 / 1.41 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.262e-05/2.842, allocations: 34.61 kB / 1.411 GB, free: 162.3 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002367/2.845, allocations: 1.337 MB / 1.412 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/2.845, allocations: 6.625 kB / 1.412 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/2.845, allocations: 152.5 kB / 1.412 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/2.846, allocations: 0.812 MB / 1.413 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/2.846, allocations: 26.38 kB / 1.413 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/2.847, allocations: 77.06 kB / 1.413 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006856/2.847, allocations: 394.2 kB / 1.413 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008666/2.848, allocations: 0.5135 MB / 1.414 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/2.848, allocations: 6.797 kB / 1.414 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/2.848, allocations: 0 / 1.414 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/2.848, allocations: 21.61 kB / 1.414 GB, free: 161.2 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.004085/2.852, allocations: 2.913 MB / 1.417 GB, free: 160 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/2.853, allocations: 306.2 kB / 1.417 GB, free: 160 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/2.853, allocations: 135.3 kB / 1.417 GB, free: 160 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/2.853, allocations: 348.6 kB / 1.417 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/2.853, allocations: 38.06 kB / 1.417 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.096e-06/2.853, allocations: 3.797 kB / 1.417 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001251/2.855, allocations: 485.7 kB / 1.418 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/2.855, allocations: 51.41 kB / 1.418 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006548/2.855, allocations: 0.6518 MB / 1.419 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/2.855, allocations: 39.27 kB / 1.419 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/2.856, allocations: 0.5322 MB / 1.419 GB, free: 159 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/2.856, allocations: 113.4 kB / 1.419 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/2.856, allocations: 3.219 kB / 1.419 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.274e-05/2.856, allocations: 323.2 kB / 1.42 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/2.856, allocations: 155.2 kB / 1.42 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/2.857, allocations: 1.366 MB / 1.421 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/2.858, allocations: 379.1 kB / 1.421 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/2.858, allocations: 0 / 1.421 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001317/2.86, allocations: 0.6417 MB / 1.422 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/2.86, allocations: 0.819 MB / 1.423 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/2.86, allocations: 2.344 kB / 1.423 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/2.86, allocations: 3.844 kB / 1.423 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/2.861, allocations: 203.5 kB / 1.423 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/2.862, allocations: 2.986 MB / 1.426 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/2.866, allocations: 0.8771 MB / 1.427 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/2.866, allocations: 25.58 kB / 1.427 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/2.866, allocations: 5.188 kB / 1.427 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001053/2.867, allocations: 493.1 kB / 1.427 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/2.867, allocations: 3.375 kB / 1.427 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/2.867, allocations: 3.562 kB / 1.427 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/2.867, allocations: 166.8 kB / 1.427 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/2.867, allocations: 9.188 kB / 1.427 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0032/2.871, allocations: 0.8651 MB / 1.428 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/2.871, allocations: 29.03 kB / 1.428 GB, free: 153.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002476/2.871, allocations: 134 kB / 1.428 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00099/2.872, allocations: 432 kB / 1.429 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-05/2.872, allocations: 86.5 kB / 1.429 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/2.873, allocations: 0.5398 MB / 1.429 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/2.873, allocations: 6.438 kB / 1.429 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/2.873, allocations: 0 / 1.429 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/2.873, allocations: 3.953 kB / 1.429 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/2.875, allocations: 1.217 MB / 1.431 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/2.875, allocations: 2.344 kB / 1.431 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/2.876, allocations: 121.3 kB / 1.431 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/2.876, allocations: 6.891 kB / 1.431 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/2.876, allocations: 7.156 kB / 1.431 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008599/2.877, allocations: 2.946 MB / 1.434 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/2.877, allocations: 3.953 kB / 1.434 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/2.878, allocations: 0.6585 MB / 1.434 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/2.878, allocations: 219.9 kB / 1.435 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.144e-05/2.878, allocations: 0 / 1.435 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005577/2.879, allocations: 64.47 kB / 1.435 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/2.879, allocations: 22.67 kB / 1.435 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/2.879, allocations: 15.56 kB / 1.435 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005217/2.88, allocations: 486.2 kB / 1.435 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.275e-06/2.88, allocations: 1.875 kB / 1.435 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001997/2.882, allocations: 0.59 MB / 1.436 GB, free: 149.4 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002068/2.884, allocations: 1.863 MB / 1.438 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002195/2.886, allocations: 0.7416 MB / 1.438 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/2.886, allocations: 3.156 kB / 1.438 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004052/2.886, allocations: 195.8 kB / 1.438 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/2.888, allocations: 390.9 kB / 1.439 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/2.891, allocations: 1.255 MB / 1.44 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/2.891, allocations: 1.052 MB / 1.441 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001258/2.893, allocations: 247 kB / 1.441 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/2.893, allocations: 351.6 kB / 1.442 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.874e-06/2.893, allocations: 0 / 1.442 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0778/2.971, allocations: 32.1 MB / 1.473 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/2.971, allocations: 166 kB / 1.473 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.159/6.131, allocations: 0 / 1.473 GB, free: 124.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)