Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.853/1.853, allocations: 292.6 MB / 307.5 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 187.5 kB / 377.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.4 MB / 0.6366 GB, free: 9.562 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009103/0.0009101, allocations: 92.31 kB / 0.7509 GB, free: 62.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003886, allocations: 8 kB / 0.8749 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3267, allocations: 116.3 MB / 0.9884 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.016/2.342, allocations: 433.3 MB / 1.412 GB, free: 271.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003779/2.343, allocations: 104.7 kB / 1.412 GB, free: 271.7 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.391/5.734, allocations: 0.974 GB / 2.386 GB, free: 56.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.585e-06/5.734, allocations: 0 / 2.386 GB, free: 56.63 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002887/5.735, allocations: 79.91 kB / 2.386 GB, free: 56.55 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.007268/5.742, allocations: 3.026 MB / 2.389 GB, free: 53.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/5.742, allocations: 8.031 kB / 2.389 GB, free: 53.45 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004668/5.742, allocations: 223.5 kB / 2.389 GB, free: 53.22 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009161/5.743, allocations: 316.3 kB / 2.389 GB, free: 52.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005349/5.749, allocations: 2.442 MB / 2.392 GB, free: 50.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.274e-05/5.749, allocations: 131 kB / 2.392 GB, free: 50.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/5.749, allocations: 177.7 kB / 2.392 GB, free: 50.09 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/5.751, allocations: 1.568 MB / 2.393 GB, free: 48.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/5.752, allocations: 0 / 2.393 GB, free: 48.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/5.752, allocations: 64 kB / 2.394 GB, free: 48.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/5.752, allocations: 43.92 kB / 2.394 GB, free: 48.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/5.753, allocations: 1.113 MB / 2.395 GB, free: 47.24 MB / 0.948 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.01055/5.764, allocations: 7.97 MB / 2.402 GB, free: 38.77 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/5.765, allocations: 477.8 kB / 2.403 GB, free: 38.29 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005343/5.765, allocations: 0.7485 MB / 2.404 GB, free: 37.38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/5.765, allocations: 43.12 kB / 2.404 GB, free: 37.33 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.557e-06/5.765, allocations: 0 / 2.404 GB, free: 37.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002105/5.767, allocations: 1.004 MB / 2.405 GB, free: 36.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/5.767, allocations: 59.97 kB / 2.405 GB, free: 36.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/5.77, allocations: 2.035 MB / 2.407 GB, free: 34.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002144/5.77, allocations: 49.7 kB / 2.407 GB, free: 34.15 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000844/5.771, allocations: 1.139 MB / 2.408 GB, free: 32.99 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/5.771, allocations: 216.9 kB / 2.408 GB, free: 32.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/5.771, allocations: 20 kB / 2.408 GB, free: 32.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001152/5.772, allocations: 357.8 kB / 2.408 GB, free: 32.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/5.772, allocations: 338.5 kB / 2.409 GB, free: 32.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008157/5.773, allocations: 0.8088 MB / 2.41 GB, free: 31.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006956/5.774, allocations: 468.8 kB / 2.41 GB, free: 30.61 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/5.774, allocations: 4 kB / 2.41 GB, free: 30.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00208/5.776, allocations: 1.256 MB / 2.411 GB, free: 29.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005735/5.776, allocations: 3.201 MB / 2.414 GB, free: 25.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/5.776, allocations: 11.94 kB / 2.414 GB, free: 25.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/5.776, allocations: 16 kB / 2.414 GB, free: 25.83 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/5.777, allocations: 259.4 kB / 2.415 GB, free: 25.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/5.778, allocations: 15.98 kB / 2.415 GB, free: 25.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/5.78, allocations: 282 kB / 2.415 GB, free: 25.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/5.78, allocations: 51.98 kB / 2.415 GB, free: 25.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/5.78, allocations: 4 kB / 2.415 GB, free: 25.23 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001475/5.782, allocations: 1.011 MB / 2.416 GB, free: 24.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/5.782, allocations: 8 kB / 2.416 GB, free: 24.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/5.782, allocations: 16 kB / 2.416 GB, free: 24.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/5.782, allocations: 252.1 kB / 2.416 GB, free: 23.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/5.782, allocations: 19.92 kB / 2.416 GB, free: 23.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/5.785, allocations: 250.4 kB / 2.416 GB, free: 23.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/5.785, allocations: 51.92 kB / 2.416 GB, free: 23.64 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (138): * Single equations (assignments): 138 * 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.001353/5.786, allocations: 0.579 MB / 2.417 GB, free: 23.05 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004778/5.787, allocations: 237.3 kB / 2.417 GB, free: 22.82 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/5.788, allocations: 0.9221 MB / 2.418 GB, free: 21.88 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/5.788, allocations: 7.984 kB / 2.418 GB, free: 21.87 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/5.788, allocations: 0 / 2.418 GB, free: 21.87 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000857/5.789, allocations: 0.7259 MB / 2.419 GB, free: 21.11 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/5.793, allocations: 2.658 MB / 2.422 GB, free: 18.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/5.793, allocations: 0 / 2.422 GB, free: 18.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/5.794, allocations: 151.8 kB / 2.422 GB, free: 18.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/5.794, allocations: 4 kB / 2.422 GB, free: 18.24 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/5.794, allocations: 19.98 kB / 2.422 GB, free: 18.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/5.794, allocations: 4 kB / 2.422 GB, free: 18.22 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/5.794, allocations: 4 kB / 2.422 GB, free: 18.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/5.796, allocations: 1.396 MB / 2.423 GB, free: 16.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/5.797, allocations: 457.9 kB / 2.423 GB, free: 16.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/5.797, allocations: 15.95 kB / 2.423 GB, free: 16.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/5.799, allocations: 167.6 kB / 2.424 GB, free: 16.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/5.799, allocations: 44.5 kB / 2.424 GB, free: 16.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/5.799, allocations: 27.98 kB / 2.424 GB, free: 16.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002159/5.801, allocations: 1.556 MB / 2.425 GB, free: 14.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.1e-07/5.801, allocations: 0 / 2.425 GB, free: 14.48 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003527/5.804, allocations: 1.205 MB / 2.426 GB, free: 13.28 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004199/5.809, allocations: 3.315 MB / 2.43 GB, free: 10.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002308/5.811, allocations: 1.365 MB / 2.431 GB, free: 8.711 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/5.811, allocations: 0 / 2.431 GB, free: 8.711 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/5.811, allocations: 340.3 kB / 2.431 GB, free: 8.379 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00713/5.819, allocations: 1.501 MB / 2.433 GB, free: 6.887 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/5.829, allocations: 10.81 MB / 2.443 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/5.83, allocations: 1.629 MB / 2.445 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002625/5.833, allocations: 0.4909 MB / 2.445 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/5.834, allocations: 0.9444 MB / 2.446 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of SimCode: time 8.01e-07/5.834, allocations: 0 / 2.446 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7667/6.601, allocations: 73.59 MB / 2.518 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/6.601, allocations: 228.2 kB / 2.518 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.764/11.37, allocations: 0 / 2.518 GB, free: 107.1 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)