Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.562/2.562, allocations: 287.3 MB / 302.3 MB, free: 8.258 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.001553/0.001552, allocations: 185.7 kB / 370.8 MB, free: 10.85 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.12/2.12, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 94.86 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006858/0.0006859, allocations: 11.55 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2304, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.313/1.543, allocations: 398.6 MB / 1.368 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/1.544, allocations: 99.25 kB / 1.368 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.258/2.802, allocations: 175.3 MB / 1.539 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.663e-06/2.802, allocations: 0 / 1.539 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.622e-05/2.802, allocations: 19.98 kB / 1.539 GB, free: 251.2 MB / 0.9323 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.001974/2.804, allocations: 0.8151 MB / 1.54 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/2.804, allocations: 8.031 kB / 1.54 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/2.804, allocations: 66.48 kB / 1.54 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/2.804, allocations: 51.44 kB / 1.54 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/2.805, allocations: 433.3 kB / 1.54 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/2.805, allocations: 20.44 kB / 1.54 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/2.805, allocations: 35.98 kB / 1.54 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/2.806, allocations: 215.2 kB / 1.54 GB, free: 249.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/2.806, allocations: 0 / 1.54 GB, free: 249.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/2.806, allocations: 11.95 kB / 1.54 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/2.806, allocations: 4 kB / 1.54 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005934/2.807, allocations: 177.6 kB / 1.541 GB, free: 249.3 MB / 0.9323 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.00256/2.809, allocations: 0.9458 MB / 1.541 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/2.81, allocations: 130.6 kB / 1.542 GB, free: 248.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002997/2.81, allocations: 336.7 kB / 1.542 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/2.81, allocations: 42.55 kB / 1.542 GB, free: 247.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=14): time 3.416e-06/2.81, allocations: 0 / 1.542 GB, free: 247.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=14): time 0.00106/2.811, allocations: 253 kB / 1.542 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/2.811, allocations: 55.41 kB / 1.542 GB, free: 247.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006978/2.812, allocations: 413.2 kB / 1.543 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.294e-05/2.812, allocations: 25.7 kB / 1.543 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/2.812, allocations: 232.6 kB / 1.543 GB, free: 246.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/2.812, allocations: 51.27 kB / 1.543 GB, free: 246.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/2.812, allocations: 4 kB / 1.543 GB, free: 246.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001003/2.813, allocations: 358.7 kB / 1.543 GB, free: 246.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/2.813, allocations: 71.97 kB / 1.543 GB, free: 246.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/2.813, allocations: 175 kB / 1.544 GB, free: 246 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/2.814, allocations: 87.95 kB / 1.544 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/2.814, allocations: 0 / 1.544 GB, free: 245.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008726/2.814, allocations: 258.7 kB / 1.544 GB, free: 245.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.124e-05/2.815, allocations: 282.9 kB / 1.544 GB, free: 245.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/2.815, allocations: 0 / 1.544 GB, free: 245.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/2.815, allocations: 4 kB / 1.544 GB, free: 245.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/2.815, allocations: 43.97 kB / 1.544 GB, free: 245.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/2.815, allocations: 4 kB / 1.544 GB, free: 245.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000723/2.816, allocations: 51.66 kB / 1.544 GB, free: 245.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/2.816, allocations: 15.98 kB / 1.544 GB, free: 245.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/2.816, allocations: 4 kB / 1.544 GB, free: 245.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000714/2.817, allocations: 198.8 kB / 1.544 GB, free: 245 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/2.817, allocations: 0 / 1.544 GB, free: 245 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/2.817, allocations: 4 kB / 1.544 GB, free: 245 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/2.817, allocations: 43.97 kB / 1.544 GB, free: 245 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/2.817, allocations: 0 / 1.544 GB, free: 245 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007143/2.818, allocations: 55.7 kB / 1.545 GB, free: 244.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/2.818, allocations: 12 kB / 1.545 GB, free: 244.9 MB / 0.9323 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 () * Number of clocked 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 0.000343/2.818, allocations: 237 kB / 1.545 GB, free: 244.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/2.818, allocations: 43.52 kB / 1.545 GB, free: 244.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008638/2.819, allocations: 268.8 kB / 1.545 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/2.819, allocations: 4 kB / 1.545 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/2.819, allocations: 3.984 kB / 1.545 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/2.819, allocations: 0 / 1.545 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/2.821, allocations: 0.7136 MB / 1.546 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/2.821, allocations: 4 kB / 1.546 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/2.821, allocations: 28.11 kB / 1.546 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/2.821, allocations: 8 kB / 1.546 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/2.821, allocations: 4 kB / 1.546 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/2.821, allocations: 11.89 kB / 1.546 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/2.821, allocations: 0 / 1.546 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007685/2.822, allocations: 395.6 kB / 1.546 GB, free: 243 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/2.822, allocations: 148.4 kB / 1.546 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.036e-05/2.822, allocations: 8 kB / 1.546 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/2.823, allocations: 19.97 kB / 1.546 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/2.823, allocations: 19.92 kB / 1.546 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/2.823, allocations: 11.94 kB / 1.546 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005328/2.823, allocations: 334.8 kB / 1.547 GB, free: 242.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.61e-07/2.823, allocations: 0 / 1.547 GB, free: 242.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001223/2.825, allocations: 231.6 kB / 1.547 GB, free: 242.3 MB / 0.9323 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 (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.002562/2.827, allocations: 1.671 MB / 1.549 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001142/2.828, allocations: 287.6 kB / 1.549 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/2.829, allocations: 0 / 1.549 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/2.829, allocations: 96.06 kB / 1.549 GB, free: 240.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/2.831, allocations: 220.1 kB / 1.549 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/2.834, allocations: 1.489 MB / 1.551 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/2.834, allocations: 0.8389 MB / 1.551 GB, free: 237.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006055/2.835, allocations: 83.61 kB / 1.552 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/2.835, allocations: 143.4 kB / 1.552 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.253e-06/2.835, allocations: 0 / 1.552 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04665/2.881, allocations: 13.69 MB / 1.565 GB, free: 224 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/2.882, allocations: 233 kB / 1.565 GB, free: 223.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.158/6.04, allocations: 4 kB / 1.565 GB, free: 223.8 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)