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.01109/0.01109, allocations: 172 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8227/0.8227, allocations: 135.2 MB / 151 MB, free: 13.82 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.737/1.737, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001228/0.001228, allocations: 94.08 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003629, allocations: 15.98 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5608, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8572/1.418, allocations: 361.5 MB / 1.003 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/1.418, allocations: 102.3 kB / 1.003 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.59/3.008, allocations: 438.9 MB / 1.431 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.783e-06/3.008, allocations: 0 / 1.431 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.376e-05/3.008, allocations: 39.31 kB / 1.431 GB, free: 149.9 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.00284/3.011, allocations: 1.518 MB / 1.433 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/3.011, allocations: 14.12 kB / 1.433 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/3.011, allocations: 102.7 kB / 1.433 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003111/3.011, allocations: 155.7 kB / 1.433 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/3.013, allocations: 0.833 MB / 1.434 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/3.013, allocations: 83.47 kB / 1.434 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/3.013, allocations: 122.2 kB / 1.434 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008793/3.014, allocations: 0.6273 MB / 1.435 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/3.014, allocations: 3.375 kB / 1.435 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/3.014, allocations: 31.19 kB / 1.435 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/3.014, allocations: 18.48 kB / 1.435 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007821/3.015, allocations: 470.6 kB / 1.435 GB, free: 147.5 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.004407/3.02, allocations: 3.081 MB / 1.438 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/3.02, allocations: 331.8 kB / 1.439 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000244/3.02, allocations: 340.7 kB / 1.439 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/3.02, allocations: 38.78 kB / 1.439 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/3.021, allocations: 2.25 kB / 1.439 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001187/3.022, allocations: 0.5655 MB / 1.439 GB, free: 143 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/3.022, allocations: 55.41 kB / 1.44 GB, free: 143 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007904/3.023, allocations: 0.7887 MB / 1.44 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/3.023, allocations: 57.7 kB / 1.44 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/3.023, allocations: 0.5447 MB / 1.441 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.739e-05/3.023, allocations: 117.3 kB / 1.441 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/3.023, allocations: 12 kB / 1.441 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.865e-05/3.023, allocations: 326 kB / 1.441 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/3.024, allocations: 184.4 kB / 1.441 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/3.025, allocations: 1.434 MB / 1.443 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/3.025, allocations: 314.3 kB / 1.443 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/3.025, allocations: 7.938 kB / 1.443 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001182/3.027, allocations: 0.6465 MB / 1.444 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/3.027, allocations: 0.8157 MB / 1.445 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/3.027, allocations: 0 / 1.445 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/3.027, allocations: 4 kB / 1.445 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/3.028, allocations: 203 kB / 1.445 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/3.029, allocations: 2.962 MB / 1.448 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/3.032, allocations: 0.9152 MB / 1.449 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/3.033, allocations: 31.98 kB / 1.449 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/3.033, allocations: 6.906 kB / 1.449 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008766/3.033, allocations: 0.5006 MB / 1.449 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/3.033, allocations: 4 kB / 1.449 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/3.033, allocations: 11.73 kB / 1.449 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/3.034, allocations: 163.8 kB / 1.449 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/3.034, allocations: 4 kB / 1.449 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003148/3.037, allocations: 0.8992 MB / 1.45 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/3.037, allocations: 27.98 kB / 1.45 GB, free: 131.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 68 * 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.0005336/3.038, allocations: 335.2 kB / 1.451 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/3.038, allocations: 98.69 kB / 1.451 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/3.039, allocations: 0.5392 MB / 1.451 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/3.039, allocations: 8 kB / 1.451 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/3.039, allocations: 0 / 1.451 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/3.039, allocations: 3.953 kB / 1.451 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/3.041, allocations: 1.279 MB / 1.452 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/3.041, allocations: 4 kB / 1.452 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005026/3.041, allocations: 115.3 kB / 1.453 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/3.041, allocations: 7.953 kB / 1.453 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/3.041, allocations: 12.12 kB / 1.453 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007672/3.042, allocations: 2.946 MB / 1.455 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/3.042, allocations: 7.891 kB / 1.455 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/3.043, allocations: 0.6419 MB / 1.456 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/3.043, allocations: 227.6 kB / 1.456 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/3.043, allocations: 8 kB / 1.456 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/3.044, allocations: 71.77 kB / 1.456 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/3.044, allocations: 27.97 kB / 1.456 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/3.044, allocations: 23.92 kB / 1.456 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006009/3.045, allocations: 0.5967 MB / 1.457 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/3.045, allocations: 0 / 1.457 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001904/3.047, allocations: 0.6127 MB / 1.458 GB, free: 123.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 (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.001845/3.049, allocations: 1.85 MB / 1.459 GB, free: 122 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002357/3.051, allocations: 0.8238 MB / 1.46 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/3.051, allocations: 3.938 kB / 1.46 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005075/3.051, allocations: 233.1 kB / 1.46 GB, free: 121 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/3.054, allocations: 474.8 kB / 1.461 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/3.058, allocations: 3.537 MB / 1.464 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/3.059, allocations: 1.05 MB / 1.465 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001554/3.06, allocations: 209.7 kB / 1.466 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/3.061, allocations: 363.3 kB / 1.466 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.011e-06/3.061, allocations: 0 / 1.466 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05652/3.117, allocations: 36.34 MB / 1.501 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/3.117, allocations: 248 kB / 1.502 GB, free: 79.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.189/6.306, allocations: 0 / 1.502 GB, free: 79.73 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)