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.458/1.458, allocations: 252 MB / 267.3 MB, free: 10.84 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.001211/0.00121, allocations: 177.6 kB / 327 MB, free: 2.074 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.868/1.868, allocations: 205.4 MB / 0.578 GB, free: 20.43 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.0008629/0.0008629, allocations: 89.23 kB / 0.6826 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003658, allocations: 9.594 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2251, allocations: 106.3 MB / 0.9009 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01461/0.2398, allocations: 15.14 MB / 0.9157 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009972/0.2498, allocations: 7.341 MB / 0.9229 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.2509, allocations: 19.81 kB / 0.9229 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.2521, allocations: 218.9 kB / 0.9231 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.2542, allocations: 0.5425 MB / 0.9236 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.2561, allocations: 0.625 MB / 0.9242 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001562/0.2577, allocations: 1.298 MB / 0.9255 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000606/0.2583, allocations: 283.9 kB / 0.9258 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008205/0.2591, allocations: 382.2 kB / 0.9261 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/0.2597, allocations: 306.6 kB / 0.9264 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.986e-05/0.2598, allocations: 16 kB / 0.9264 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.261, allocations: 0.5926 MB / 0.927 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.2611, allocations: 87.59 kB / 0.9271 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.2614, allocations: 232.5 kB / 0.9273 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.2627, allocations: 0.7164 MB / 0.928 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2627, allocations: 0 / 0.928 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2628, allocations: 4 kB / 0.928 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.2628, allocations: 0 / 0.928 GB, free: 35.82 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001083/0.2639, allocations: 0.7437 MB / 0.9288 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.2639, allocations: 8.031 kB / 0.9288 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.985e-05/0.264, allocations: 58.67 kB / 0.9288 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.2641, allocations: 48.38 kB / 0.9289 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.2648, allocations: 424.6 kB / 0.9293 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.2648, allocations: 24.38 kB / 0.9293 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.2649, allocations: 24 kB / 0.9293 GB, free: 34.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.2654, allocations: 223.2 kB / 0.9295 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2654, allocations: 0 / 0.9295 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.2654, allocations: 8 kB / 0.9295 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.2654, allocations: 4 kB / 0.9295 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.2658, allocations: 177.6 kB / 0.9297 GB, free: 34 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.001558/0.2674, allocations: 0.9458 MB / 0.9306 GB, free: 32.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.2677, allocations: 134.6 kB / 0.9308 GB, free: 32.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.2678, allocations: 72.83 kB / 0.9308 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.2681, allocations: 340.5 kB / 0.9312 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2681, allocations: 30.56 kB / 0.9312 GB, free: 32.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 2.374e-06/0.2681, allocations: 0 / 0.9312 GB, free: 32.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005822/0.2687, allocations: 266.5 kB / 0.9314 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.2687, allocations: 51.41 kB / 0.9315 GB, free: 31.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.2692, allocations: 477.9 kB / 0.932 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.2692, allocations: 29.7 kB / 0.932 GB, free: 31.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.2693, allocations: 224.6 kB / 0.9322 GB, free: 31.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.2694, allocations: 47.3 kB / 0.9322 GB, free: 31.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.2694, allocations: 8 kB / 0.9322 GB, free: 31.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.2695, allocations: 358.7 kB / 0.9326 GB, free: 30.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.2696, allocations: 67.95 kB / 0.9327 GB, free: 30.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.2699, allocations: 161.6 kB / 0.9328 GB, free: 30.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.2702, allocations: 173.3 kB / 0.933 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2702, allocations: 0 / 0.933 GB, free: 30.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004371/0.2706, allocations: 257 kB / 0.9332 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.2707, allocations: 117.3 kB / 0.9333 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2707, allocations: 4 kB / 0.9333 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2707, allocations: 3.938 kB / 0.9333 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.2709, allocations: 43.97 kB / 0.9334 GB, free: 29.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.271, allocations: 4 kB / 0.9334 GB, free: 29.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.2713, allocations: 47.72 kB / 0.9334 GB, free: 29.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.2714, allocations: 15.94 kB / 0.9334 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.2714, allocations: 4 kB / 0.9334 GB, free: 29.9 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000363/0.2717, allocations: 191.7 kB / 0.9336 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.2718, allocations: 4 kB / 0.9336 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-06/0.2718, allocations: 4 kB / 0.9336 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.2719, allocations: 43.97 kB / 0.9337 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.272, allocations: 96 / 0.9337 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.2723, allocations: 51.75 kB / 0.9337 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.2723, allocations: 12 kB / 0.9337 GB, free: 29.6 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.2725, allocations: 237 kB / 0.934 GB, free: 29.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.2725, allocations: 47.61 kB / 0.934 GB, free: 29.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.273, allocations: 269 kB / 0.9343 GB, free: 29.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.273, allocations: 0 / 0.9343 GB, free: 29.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.273, allocations: 0 / 0.9343 GB, free: 29.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.273, allocations: 3.984 kB / 0.9343 GB, free: 29.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008325/0.2739, allocations: 0.7005 MB / 0.935 GB, free: 28.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2739, allocations: 4 kB / 0.935 GB, free: 28.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.274, allocations: 35.97 kB / 0.935 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.274, allocations: 8.125 kB / 0.935 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2741, allocations: 3.938 kB / 0.935 GB, free: 28.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2741, allocations: 4 kB / 0.935 GB, free: 28.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2741, allocations: 3.938 kB / 0.935 GB, free: 28.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.2745, allocations: 348.6 kB / 0.9353 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2746, allocations: 144.6 kB / 0.9355 GB, free: 27.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.2746, allocations: 3.938 kB / 0.9355 GB, free: 27.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.2749, allocations: 35.83 kB / 0.9355 GB, free: 27.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.2749, allocations: 15.86 kB / 0.9355 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.275, allocations: 15.98 kB / 0.9356 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002844/0.2753, allocations: 322.9 kB / 0.9359 GB, free: 27.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2753, allocations: 4 kB / 0.9359 GB, free: 27.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006455/0.2759, allocations: 195.7 kB / 0.9361 GB, free: 27.1 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001475/0.2774, allocations: 1.256 MB / 0.9373 GB, free: 25.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006147/0.278, allocations: 281.7 kB / 0.9375 GB, free: 25.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.278, allocations: 4 kB / 0.9375 GB, free: 25.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.2782, allocations: 87.83 kB / 0.9376 GB, free: 25.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.2795, allocations: 225.4 kB / 0.9378 GB, free: 25.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.2835, allocations: 3.53 MB / 0.9413 GB, free: 21.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.2839, allocations: 0.823 MB / 0.9421 GB, free: 20.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000359/0.2842, allocations: 83.23 kB / 0.9422 GB, free: 20.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.2844, allocations: 147.4 kB / 0.9423 GB, free: 20.66 MB / 0.6042 GB Notification: Performance of SimCode: time 1.373e-06/0.2844, allocations: 0 / 0.9423 GB, free: 20.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.3065, allocations: 12.23 MB / 0.9543 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.3067, allocations: 281.1 kB / 0.9545 GB, free: 8.258 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/2.787, allocations: 0 / 0.9545 GB, free: 8.258 MB / 0.6042 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)