Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.001021, allocations: 186.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.1 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000954/0.000954, allocations: 90.47 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.494e-05/4.505e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2394, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.686/1.925, allocations: 395.6 MB / 1.278 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/1.926, allocations: 97.19 kB / 1.278 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3537/2.279, allocations: 170.2 MB / 1.444 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.482e-06/2.28, allocations: 0 / 1.444 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.182e-05/2.28, allocations: 19.98 kB / 1.445 GB, free: 153.4 MB / 0.8698 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.001297/2.281, allocations: 0.7707 MB / 1.445 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/2.281, allocations: 12.03 kB / 1.445 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.515e-05/2.281, allocations: 58.55 kB / 1.445 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/2.281, allocations: 71.19 kB / 1.445 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000783/2.282, allocations: 457.3 kB / 1.446 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/2.282, allocations: 24.55 kB / 1.446 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/2.282, allocations: 36 kB / 1.446 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/2.283, allocations: 260.6 kB / 1.446 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/2.283, allocations: 3.938 kB / 1.446 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/2.283, allocations: 8 kB / 1.446 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/2.283, allocations: 11.95 kB / 1.446 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/2.283, allocations: 162.2 kB / 1.446 GB, free: 151.4 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.001877/2.285, allocations: 1.313 MB / 1.448 GB, free: 150 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/2.285, allocations: 171.4 kB / 1.448 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/2.285, allocations: 81.22 kB / 1.448 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001462/2.287, allocations: 1.335 MB / 1.449 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/2.287, allocations: 38.52 kB / 1.449 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=18): time 2.225e-06/2.287, allocations: 0 / 1.449 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18): time 0.0003847/2.287, allocations: 198.5 kB / 1.449 GB, free: 148 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/2.287, allocations: 51.41 kB / 1.449 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/2.288, allocations: 0.5085 MB / 1.45 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/2.288, allocations: 33.7 kB / 1.45 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/2.288, allocations: 264 kB / 1.45 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/2.288, allocations: 63.09 kB / 1.45 GB, free: 147 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/2.288, allocations: 4 kB / 1.45 GB, free: 147 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001045/2.288, allocations: 358.8 kB / 1.451 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/2.288, allocations: 67.98 kB / 1.451 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/2.288, allocations: 210.4 kB / 1.451 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/2.289, allocations: 100.4 kB / 1.451 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/2.289, allocations: 3.938 kB / 1.451 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004133/2.289, allocations: 288.6 kB / 1.451 GB, free: 146 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001874/2.289, allocations: 0.7901 MB / 1.452 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/2.289, allocations: 0 / 1.452 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/2.289, allocations: 4 kB / 1.452 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/2.29, allocations: 75.91 kB / 1.452 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/2.29, allocations: 4 kB / 1.452 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/2.29, allocations: 51.66 kB / 1.452 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/2.29, allocations: 19.98 kB / 1.452 GB, free: 145 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/2.29, allocations: 9.203 kB / 1.452 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003258/2.29, allocations: 215.6 kB / 1.452 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/2.29, allocations: 3.938 kB / 1.452 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/2.29, allocations: 4 kB / 1.452 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/2.291, allocations: 63.91 kB / 1.452 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/2.291, allocations: 4 kB / 1.452 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/2.291, allocations: 55.84 kB / 1.452 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/2.291, allocations: 15.98 kB / 1.453 GB, free: 144.6 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001002/2.291, allocations: 124.9 kB / 1.453 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/2.291, allocations: 47.39 kB / 1.453 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005173/2.292, allocations: 260 kB / 1.453 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/2.292, allocations: 8 kB / 1.453 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/2.292, allocations: 3.938 kB / 1.453 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/2.292, allocations: 3.984 kB / 1.453 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009501/2.293, allocations: 0.7512 MB / 1.454 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/2.293, allocations: 128 / 1.454 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/2.293, allocations: 43.98 kB / 1.454 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/2.293, allocations: 0 / 1.454 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/2.293, allocations: 7.984 kB / 1.454 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/2.293, allocations: 3.938 kB / 1.454 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/2.293, allocations: 7.938 kB / 1.454 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/2.294, allocations: 473.8 kB / 1.454 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/2.294, allocations: 152.7 kB / 1.454 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/2.294, allocations: 11.98 kB / 1.454 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/2.294, allocations: 31.92 kB / 1.454 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/2.294, allocations: 27.86 kB / 1.454 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/2.294, allocations: 4 kB / 1.454 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004278/2.295, allocations: 409.5 kB / 1.455 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/2.295, allocations: 0 / 1.455 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00101/2.296, allocations: 271.6 kB / 1.455 GB, free: 141.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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.001897/2.298, allocations: 1.756 MB / 1.457 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006516/2.298, allocations: 334.8 kB / 1.457 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/2.298, allocations: 4 kB / 1.457 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/2.298, allocations: 79.92 kB / 1.457 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/2.3, allocations: 264.2 kB / 1.457 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/2.301, allocations: 0.8028 MB / 1.458 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/2.302, allocations: 0.8595 MB / 1.459 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005739/2.302, allocations: 188.1 kB / 1.459 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/2.303, allocations: 159.4 kB / 1.459 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.314e-06/2.303, allocations: 0 / 1.459 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/2.336, allocations: 17.41 MB / 1.476 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/2.336, allocations: 206 kB / 1.477 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/5.145, allocations: 4 kB / 1.477 GB, free: 119.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)