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.413/1.413, allocations: 252 MB / 267 MB, free: 10.99 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.0009459/0.0009459, allocations: 174 kB / 326.6 MB, free: 2.23 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.636/1.636, allocations: 205.4 MB / 0.5776 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.0007827/0.0007826, allocations: 79.88 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.000455, allocations: 9.469 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2717, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01329/0.285, allocations: 16.1 MB / 0.916 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009199/0.2943, allocations: 7.082 MB / 0.9229 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006481/0.2949, allocations: 19.88 kB / 0.923 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007884/0.2958, allocations: 183 kB / 0.9231 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.2971, allocations: 0.4952 MB / 0.9236 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.2989, allocations: 0.5929 MB / 0.9242 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.2999, allocations: 1.091 MB / 0.9253 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004051/0.3003, allocations: 270.6 kB / 0.9255 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005203/0.3008, allocations: 354.4 kB / 0.9259 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.3012, allocations: 298.7 kB / 0.9262 GB, free: 37.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.3012, allocations: 16 kB / 0.9262 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.3022, allocations: 0.577 MB / 0.9267 GB, free: 36.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3023, allocations: 111.6 kB / 0.9268 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.145e-05/0.3024, allocations: 121.4 kB / 0.927 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006665/0.3031, allocations: 0.5884 MB / 0.9275 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3031, allocations: 0 / 0.9275 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.915e-06/0.3031, allocations: 0 / 0.9275 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.3031, allocations: 4 kB / 0.9275 GB, free: 35.86 MB / 0.6042 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.00111/0.3043, allocations: 0.7902 MB / 0.9283 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.3043, allocations: 8.031 kB / 0.9283 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.592e-05/0.3044, allocations: 66.47 kB / 0.9284 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.3046, allocations: 63.34 kB / 0.9284 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.3053, allocations: 429.4 kB / 0.9288 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.3053, allocations: 24.52 kB / 0.9289 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.3054, allocations: 32 kB / 0.9289 GB, free: 34.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/0.3059, allocations: 284.5 kB / 0.9292 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3059, allocations: 4 kB / 0.9292 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.3059, allocations: 8 kB / 0.9292 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.306, allocations: 8 kB / 0.9292 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.3064, allocations: 206 kB / 0.9294 GB, free: 33.84 MB / 0.6042 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.001567/0.3079, allocations: 1.285 MB / 0.9306 GB, free: 32.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.3083, allocations: 199.3 kB / 0.9308 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.3085, allocations: 101.2 kB / 0.9309 GB, free: 32.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001347/0.3098, allocations: 1.32 MB / 0.9322 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.3098, allocations: 30.56 kB / 0.9322 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.273e-06/0.3099, allocations: 0 / 0.9322 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.000592/0.3105, allocations: 295.6 kB / 0.9325 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.3105, allocations: 51.41 kB / 0.9326 GB, free: 30.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.311, allocations: 0.5691 MB / 0.9331 GB, free: 29.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.311, allocations: 33.7 kB / 0.9332 GB, free: 29.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3112, allocations: 264.2 kB / 0.9334 GB, free: 29.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.3112, allocations: 67.03 kB / 0.9335 GB, free: 29.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.3113, allocations: 4 kB / 0.9335 GB, free: 29.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.3114, allocations: 370.7 kB / 0.9338 GB, free: 28.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.3115, allocations: 83.75 kB / 0.9339 GB, free: 28.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.3118, allocations: 207.9 kB / 0.9341 GB, free: 28.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.312, allocations: 105.7 kB / 0.9342 GB, free: 28.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.312, allocations: 4 kB / 0.9342 GB, free: 28.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004881/0.3125, allocations: 332.7 kB / 0.9345 GB, free: 28.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/0.3126, allocations: 147.5 kB / 0.9347 GB, free: 28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3126, allocations: 7.922 kB / 0.9347 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3126, allocations: 4 kB / 0.9347 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.3129, allocations: 63.91 kB / 0.9347 GB, free: 27.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3129, allocations: 7.984 kB / 0.9348 GB, free: 27.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.3132, allocations: 55.62 kB / 0.9348 GB, free: 27.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.3133, allocations: 15.98 kB / 0.9348 GB, free: 27.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.3133, allocations: 7.938 kB / 0.9348 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004292/0.3137, allocations: 251.6 kB / 0.9351 GB, free: 27.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3137, allocations: 4 kB / 0.9351 GB, free: 27.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.3137, allocations: 4 kB / 0.9351 GB, free: 27.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.3139, allocations: 67.91 kB / 0.9351 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.314, allocations: 3.984 kB / 0.9351 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.3142, allocations: 47.92 kB / 0.9352 GB, free: 27.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.3143, allocations: 19.98 kB / 0.9352 GB, free: 27.45 MB / 0.6042 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 () * Number of clocked 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.0001714/0.3144, allocations: 253 kB / 0.9355 GB, free: 27.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.3145, allocations: 51.39 kB / 0.9355 GB, free: 27.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005367/0.3151, allocations: 302.3 kB / 0.9358 GB, free: 26.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.3151, allocations: 7.984 kB / 0.9358 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3151, allocations: 0 / 0.9358 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3151, allocations: 192 / 0.9358 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008435/0.3159, allocations: 0.7761 MB / 0.9366 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.316, allocations: 128 / 0.9366 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.3161, allocations: 47.91 kB / 0.9366 GB, free: 25.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3161, allocations: 7.984 kB / 0.9366 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3162, allocations: 4 kB / 0.9366 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3162, allocations: 4 kB / 0.9366 GB, free: 25.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3162, allocations: 0 / 0.9366 GB, free: 25.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.3168, allocations: 497.3 kB / 0.9371 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.317, allocations: 156.5 kB / 0.9372 GB, free: 25.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.577e-05/0.3171, allocations: 11.89 kB / 0.9373 GB, free: 25.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.3173, allocations: 15.98 kB / 0.9373 GB, free: 25.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.3173, allocations: 19.97 kB / 0.9373 GB, free: 25.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3174, allocations: 8 kB / 0.9373 GB, free: 25.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003441/0.3177, allocations: 410.9 kB / 0.9377 GB, free: 24.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3177, allocations: 0 / 0.9377 GB, free: 24.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000629/0.3183, allocations: 235.7 kB / 0.9379 GB, free: 24.55 MB / 0.6042 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 () * Number of clocked 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.001721/0.3201, allocations: 1.394 MB / 0.9393 GB, free: 23.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007509/0.3208, allocations: 369.4 kB / 0.9396 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3209, allocations: 4.188 kB / 0.9396 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.3211, allocations: 103.9 kB / 0.9397 GB, free: 22.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.3223, allocations: 253.3 kB / 0.94 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.326, allocations: 2.806 MB / 0.9427 GB, free: 19.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3263, allocations: 0.8504 MB / 0.9435 GB, free: 18.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003492/0.3267, allocations: 104.3 kB / 0.9436 GB, free: 18.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.3269, allocations: 175.2 kB / 0.9438 GB, free: 18.51 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.3269, allocations: 0 / 0.9438 GB, free: 18.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.353, allocations: 14.55 MB / 0.958 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.3533, allocations: 242.2 kB / 0.9582 GB, free: 3.898 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/2.881, allocations: 0 / 0.9582 GB, free: 3.898 MB / 0.6042 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)