Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.808/1.808, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001325/0.001325, allocations: 174.2 kB / 371.8 MB, free: 10.27 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.13/2.13, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.001239/0.001239, allocations: 103.4 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 14.88 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2639, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.363, allocations: 403.3 MB / 1.373 GB, free: 9.445 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/1.364, allocations: 104.9 kB / 1.373 GB, free: 9.387 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.9238/2.287, allocations: 175.4 MB / 1.545 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.034e-06/2.287, allocations: 0 / 1.545 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.372e-05/2.288, allocations: 27.92 kB / 1.545 GB, free: 244.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.00176/2.289, allocations: 0.8649 MB / 1.546 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/2.289, allocations: 8.031 kB / 1.546 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.465e-05/2.289, allocations: 62.53 kB / 1.546 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/2.29, allocations: 63.3 kB / 1.546 GB, free: 243.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/2.291, allocations: 469.2 kB / 1.546 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/2.291, allocations: 24.55 kB / 1.546 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/2.291, allocations: 28 kB / 1.546 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/2.291, allocations: 290.2 kB / 1.546 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/2.291, allocations: 0 / 1.546 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/2.291, allocations: 12 kB / 1.546 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/2.291, allocations: 8 kB / 1.546 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/2.292, allocations: 198 kB / 1.547 GB, free: 242.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.001855/2.293, allocations: 1.496 MB / 1.548 GB, free: 241 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/2.294, allocations: 171.3 kB / 1.548 GB, free: 240.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/2.295, allocations: 1.288 MB / 1.55 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/2.295, allocations: 42.52 kB / 1.55 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/2.295, allocations: 3.938 kB / 1.55 GB, free: 239.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0006694/2.296, allocations: 262.4 kB / 1.55 GB, free: 239 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/2.296, allocations: 55.39 kB / 1.55 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000595/2.296, allocations: 0.506 MB / 1.55 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/2.297, allocations: 29.7 kB / 1.55 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/2.297, allocations: 276 kB / 1.551 GB, free: 238.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/2.297, allocations: 51.34 kB / 1.551 GB, free: 238.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/2.297, allocations: 4 kB / 1.551 GB, free: 238.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001039/2.297, allocations: 366.8 kB / 1.551 GB, free: 237.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/2.297, allocations: 68.52 kB / 1.551 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/2.297, allocations: 237.2 kB / 1.551 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/2.298, allocations: 110 kB / 1.551 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/2.298, allocations: 3.938 kB / 1.551 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005441/2.298, allocations: 312.7 kB / 1.552 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002921/2.298, allocations: 0.974 MB / 1.553 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/2.298, allocations: 4 kB / 1.553 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/2.299, allocations: 4 kB / 1.553 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/2.299, allocations: 63.89 kB / 1.553 GB, free: 235.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/2.299, allocations: 8 kB / 1.553 GB, free: 235.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/2.299, allocations: 59.58 kB / 1.553 GB, free: 235.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/2.299, allocations: 15.98 kB / 1.553 GB, free: 235.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/2.299, allocations: 5.094 kB / 1.553 GB, free: 235.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004062/2.3, allocations: 239.7 kB / 1.553 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/2.3, allocations: 4 kB / 1.553 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/2.3, allocations: 7.938 kB / 1.553 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/2.3, allocations: 71.89 kB / 1.553 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/2.3, allocations: 7.938 kB / 1.553 GB, free: 235.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/2.3, allocations: 47.88 kB / 1.553 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/2.3, allocations: 16 kB / 1.553 GB, free: 235.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.000221/2.301, allocations: 261 kB / 1.554 GB, free: 235.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.329e-05/2.301, allocations: 47.34 kB / 1.554 GB, free: 235 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006018/2.301, allocations: 273.5 kB / 1.554 GB, free: 234.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/2.301, allocations: 0 / 1.554 GB, free: 234.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/2.301, allocations: 4 kB / 1.554 GB, free: 234.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/2.301, allocations: 3.984 kB / 1.554 GB, free: 234.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/2.302, allocations: 0.7526 MB / 1.555 GB, free: 233.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/2.302, allocations: 4 kB / 1.555 GB, free: 233.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/2.302, allocations: 40.09 kB / 1.555 GB, free: 233.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/2.302, allocations: 4 kB / 1.555 GB, free: 233.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/2.302, allocations: 0 / 1.555 GB, free: 233.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/2.302, allocations: 7.938 kB / 1.555 GB, free: 233.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.303, allocations: 0 / 1.555 GB, free: 233.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/2.303, allocations: 421.9 kB / 1.555 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/2.303, allocations: 152.5 kB / 1.555 GB, free: 233.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/2.303, allocations: 4 kB / 1.555 GB, free: 233.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/2.303, allocations: 27.83 kB / 1.555 GB, free: 233.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/2.304, allocations: 15.92 kB / 1.555 GB, free: 233.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/2.304, allocations: 12 kB / 1.555 GB, free: 233.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004224/2.304, allocations: 410.8 kB / 1.556 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.8e-07/2.304, allocations: 0 / 1.556 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001061/2.305, allocations: 271.7 kB / 1.556 GB, free: 232.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.002336/2.307, allocations: 1.723 MB / 1.558 GB, free: 230.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007818/2.308, allocations: 346.8 kB / 1.558 GB, free: 230.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/2.308, allocations: 0 / 1.558 GB, free: 230.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/2.308, allocations: 95.89 kB / 1.558 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/2.31, allocations: 258.9 kB / 1.558 GB, free: 230.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/2.313, allocations: 2.955 MB / 1.561 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/2.313, allocations: 0.8545 MB / 1.562 GB, free: 226.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000509/2.314, allocations: 108.2 kB / 1.562 GB, free: 226.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/2.314, allocations: 171.4 kB / 1.562 GB, free: 226 MB / 0.9323 GB Notification: Performance of SimCode: time 1.783e-06/2.314, allocations: 0 / 1.562 GB, free: 226 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03557/2.349, allocations: 16.05 MB / 1.578 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/2.35, allocations: 234 kB / 1.578 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/4.817, allocations: 0 / 1.578 GB, free: 209.9 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)