Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.568/2.568, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001557/0.001557, allocations: 175 kB / 370.8 MB, free: 10.86 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.267/2.267, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.00111/0.00111, allocations: 89.67 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005392, allocations: 12.03 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2399, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.328/1.568, allocations: 403.1 MB / 1.372 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004136/1.568, allocations: 105.2 kB / 1.372 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.262/2.83, allocations: 175.4 MB / 1.543 GB, free: 246.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.144e-06/2.83, allocations: 224 / 1.543 GB, free: 246.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.378e-05/2.83, allocations: 19.92 kB / 1.543 GB, free: 246.7 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001983/2.832, allocations: 0.8688 MB / 1.544 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/2.832, allocations: 12.03 kB / 1.544 GB, free: 245.8 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/2.832, allocations: 66.47 kB / 1.544 GB, free: 245.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/2.833, allocations: 59.3 kB / 1.544 GB, free: 245.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/2.834, allocations: 457.3 kB / 1.545 GB, free: 245.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/2.834, allocations: 20.56 kB / 1.545 GB, free: 245.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/2.834, allocations: 28 kB / 1.545 GB, free: 245.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007507/2.835, allocations: 290.2 kB / 1.545 GB, free: 244.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/2.835, allocations: 0 / 1.545 GB, free: 244.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/2.835, allocations: 8 kB / 1.545 GB, free: 244.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/2.835, allocations: 11.95 kB / 1.545 GB, free: 244.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/2.836, allocations: 202.1 kB / 1.545 GB, free: 244.6 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.002851/2.838, allocations: 1.496 MB / 1.547 GB, free: 243 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/2.839, allocations: 166.8 kB / 1.547 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00213/2.841, allocations: 1.307 MB / 1.548 GB, free: 241.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/2.841, allocations: 34.56 kB / 1.548 GB, free: 241.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 3.737e-06/2.841, allocations: 0 / 1.548 GB, free: 241.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0009956/2.842, allocations: 262.1 kB / 1.548 GB, free: 241 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/2.842, allocations: 55.41 kB / 1.549 GB, free: 240.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009157/2.843, allocations: 0.5176 MB / 1.549 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/2.843, allocations: 25.7 kB / 1.549 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/2.844, allocations: 276 kB / 1.549 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/2.844, allocations: 51.28 kB / 1.549 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/2.844, allocations: 8 kB / 1.549 GB, free: 240 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001034/2.844, allocations: 358.8 kB / 1.55 GB, free: 239.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/2.844, allocations: 76.39 kB / 1.55 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/2.845, allocations: 237.3 kB / 1.55 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/2.845, allocations: 100.9 kB / 1.55 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/2.845, allocations: 4 kB / 1.55 GB, free: 239.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009739/2.846, allocations: 319.2 kB / 1.55 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002355/2.846, allocations: 0.964 MB / 1.551 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/2.846, allocations: 4 kB / 1.551 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/2.846, allocations: 4 kB / 1.551 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/2.847, allocations: 63.91 kB / 1.551 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/2.847, allocations: 8 kB / 1.551 GB, free: 237.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/2.848, allocations: 55.56 kB / 1.552 GB, free: 237.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/2.848, allocations: 15.98 kB / 1.552 GB, free: 237.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/2.848, allocations: 5.25 kB / 1.552 GB, free: 237.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007648/2.848, allocations: 243.6 kB / 1.552 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/2.848, allocations: 0 / 1.552 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/2.848, allocations: 8 kB / 1.552 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/2.849, allocations: 72.09 kB / 1.552 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.998e-06/2.849, allocations: 7.984 kB / 1.552 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006719/2.85, allocations: 39.77 kB / 1.552 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/2.85, allocations: 19.98 kB / 1.552 GB, free: 237.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0003693/2.85, allocations: 268.9 kB / 1.552 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/2.85, allocations: 51.53 kB / 1.552 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008908/2.851, allocations: 269 kB / 1.552 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/2.851, allocations: 8 kB / 1.552 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/2.851, allocations: 3.938 kB / 1.552 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/2.851, allocations: 0 / 1.552 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/2.853, allocations: 0.7577 MB / 1.553 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/2.853, allocations: 0 / 1.553 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/2.853, allocations: 43.91 kB / 1.553 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/2.853, allocations: 0 / 1.553 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/2.853, allocations: 4 kB / 1.553 GB, free: 235.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/2.853, allocations: 0 / 1.553 GB, free: 235.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/2.853, allocations: 7.938 kB / 1.553 GB, free: 235.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007352/2.854, allocations: 411.5 kB / 1.554 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/2.854, allocations: 156.5 kB / 1.554 GB, free: 235.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.931e-05/2.854, allocations: 4 kB / 1.554 GB, free: 235.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/2.854, allocations: 31.89 kB / 1.554 GB, free: 235.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/2.855, allocations: 19.88 kB / 1.554 GB, free: 235.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/2.855, allocations: 8 kB / 1.554 GB, free: 235.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006848/2.855, allocations: 414.8 kB / 1.554 GB, free: 234.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.11e-07/2.855, allocations: 0 / 1.554 GB, free: 234.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001285/2.857, allocations: 263.7 kB / 1.555 GB, free: 234.5 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 (17): * Single equations (assignments): 15 * 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.002649/2.859, allocations: 1.723 MB / 1.556 GB, free: 232.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001206/2.861, allocations: 342.8 kB / 1.557 GB, free: 232.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/2.861, allocations: 7.875 kB / 1.557 GB, free: 232.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000306/2.861, allocations: 91.89 kB / 1.557 GB, free: 232.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/2.863, allocations: 249.5 kB / 1.557 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/2.866, allocations: 2.955 MB / 1.56 GB, free: 229.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/2.867, allocations: 0.8584 MB / 1.561 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007166/2.867, allocations: 108.5 kB / 1.561 GB, free: 228.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/2.868, allocations: 171.4 kB / 1.561 GB, free: 228 MB / 0.9323 GB Notification: Performance of SimCode: time 1.042e-06/2.868, allocations: 0 / 1.561 GB, free: 228 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0531/2.921, allocations: 16.04 MB / 1.577 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/2.921, allocations: 226.3 kB / 1.577 GB, free: 211.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.262/6.183, allocations: 0 / 1.577 GB, free: 211.9 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)