Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 183.3 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008398/0.00084, allocations: 91.3 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.000352, allocations: 9.781 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1993, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8348/1.034, allocations: 391.1 MB / 1.282 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/1.035, allocations: 99.08 kB / 1.282 GB, free: 8.008 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.8362/1.871, allocations: 170.6 MB / 1.449 GB, free: 287.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.975e-06/1.871, allocations: 3.156 kB / 1.449 GB, free: 287.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.052e-05/1.871, allocations: 22.88 kB / 1.449 GB, free: 287.8 MB / 0.8855 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.001868/1.873, allocations: 0.81 MB / 1.45 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.873, allocations: 7.688 kB / 1.45 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.989e-05/1.873, allocations: 61.42 kB / 1.45 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/1.873, allocations: 63.33 kB / 1.45 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008263/1.874, allocations: 425.2 kB / 1.45 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/1.874, allocations: 21.73 kB / 1.45 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.987e-05/1.874, allocations: 30.41 kB / 1.45 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/1.874, allocations: 208.1 kB / 1.45 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.875, allocations: 3.188 kB / 1.45 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/1.875, allocations: 7.312 kB / 1.45 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/1.875, allocations: 9.234 kB / 1.45 GB, free: 286.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/1.875, allocations: 174.3 kB / 1.451 GB, free: 286.8 MB / 0.8855 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.001655/1.877, allocations: 0.9528 MB / 1.451 GB, free: 286.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/1.877, allocations: 134 kB / 1.452 GB, free: 286.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/1.877, allocations: 340.2 kB / 1.452 GB, free: 286 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/1.877, allocations: 34.41 kB / 1.452 GB, free: 286 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 2.564e-06/1.877, allocations: 3.938 kB / 1.452 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0006371/1.878, allocations: 248.6 kB / 1.452 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/1.878, allocations: 55.34 kB / 1.452 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/1.878, allocations: 415 kB / 1.453 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/1.878, allocations: 34.58 kB / 1.453 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/1.879, allocations: 232.1 kB / 1.453 GB, free: 285.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/1.879, allocations: 44.44 kB / 1.453 GB, free: 285.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/1.879, allocations: 7.094 kB / 1.453 GB, free: 285.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.879, allocations: 351.4 kB / 1.453 GB, free: 285.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/1.879, allocations: 71.69 kB / 1.453 GB, free: 285.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/1.879, allocations: 182.6 kB / 1.454 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/1.879, allocations: 92.7 kB / 1.454 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.879, allocations: 0 / 1.454 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000514/1.88, allocations: 257.3 kB / 1.454 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.88, allocations: 284.6 kB / 1.454 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.88, allocations: 0 / 1.454 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/1.88, allocations: 3.562 kB / 1.454 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/1.88, allocations: 49.95 kB / 1.454 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.88, allocations: 3.938 kB / 1.454 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/1.881, allocations: 49.56 kB / 1.454 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/1.881, allocations: 15.52 kB / 1.454 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/1.881, allocations: 6.281 kB / 1.454 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003795/1.881, allocations: 182.8 kB / 1.454 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.881, allocations: 3.938 kB / 1.454 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/1.881, allocations: 0 / 1.454 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/1.881, allocations: 46.41 kB / 1.455 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.881, allocations: 10.92 kB / 1.455 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/1.882, allocations: 42.45 kB / 1.455 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/1.882, allocations: 18.58 kB / 1.455 GB, free: 284.7 MB / 0.8855 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.000208/1.882, allocations: 234.2 kB / 1.455 GB, free: 284.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/1.882, allocations: 42.84 kB / 1.455 GB, free: 284.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005309/1.883, allocations: 256.1 kB / 1.455 GB, free: 284.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/1.883, allocations: 0 / 1.455 GB, free: 284.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/1.883, allocations: 3.797 kB / 1.455 GB, free: 284.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.883, allocations: 0 / 1.455 GB, free: 284.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/1.884, allocations: 0.7217 MB / 1.456 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.884, allocations: 0 / 1.456 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/1.884, allocations: 29.16 kB / 1.456 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.884, allocations: 7.031 kB / 1.456 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/1.884, allocations: 11.81 kB / 1.456 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.884, allocations: 3.938 kB / 1.456 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.884, allocations: 10.48 kB / 1.456 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/1.884, allocations: 397.4 kB / 1.456 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/1.885, allocations: 152.3 kB / 1.456 GB, free: 283.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/1.885, allocations: 0 / 1.456 GB, free: 283.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/1.885, allocations: 32.06 kB / 1.456 GB, free: 283.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/1.885, allocations: 11.33 kB / 1.456 GB, free: 283.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/1.885, allocations: 10.88 kB / 1.456 GB, free: 283.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003357/1.885, allocations: 323 kB / 1.457 GB, free: 283.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/1.885, allocations: 0 / 1.457 GB, free: 283.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008218/1.886, allocations: 238.8 kB / 1.457 GB, free: 283.6 MB / 0.8855 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.001875/1.888, allocations: 1.667 MB / 1.459 GB, free: 282.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006248/1.889, allocations: 282.8 kB / 1.459 GB, free: 282.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.889, allocations: 0 / 1.459 GB, free: 282.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/1.889, allocations: 89.47 kB / 1.459 GB, free: 282.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/1.89, allocations: 222.1 kB / 1.459 GB, free: 282.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/1.892, allocations: 1.493 MB / 1.461 GB, free: 281.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/1.892, allocations: 0.8382 MB / 1.461 GB, free: 280.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003362/1.892, allocations: 89.44 kB / 1.462 GB, free: 280.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/1.892, allocations: 141.7 kB / 1.462 GB, free: 280.7 MB / 0.8855 GB Notification: Performance of SimCode: time 5.31e-06/1.892, allocations: 3.938 kB / 1.462 GB, free: 280.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/1.918, allocations: 13.7 MB / 1.475 GB, free: 277.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/1.918, allocations: 242.7 kB / 1.475 GB, free: 277.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/4.447, allocations: 4 kB / 1.475 GB, free: 277.1 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)