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.578/1.578, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001662/0.001662, allocations: 186.4 kB / 326.5 MB, free: 2.234 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.833/1.833, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009187/0.0009186, allocations: 100.7 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004983, allocations: 12.62 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2373, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01306/0.2504, allocations: 14.84 MB / 0.9146 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008825/0.2593, allocations: 6.703 MB / 0.9212 GB, free: 42.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000618/0.2599, allocations: 15.88 kB / 0.9212 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009677/0.2609, allocations: 282.8 kB / 0.9215 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.2623, allocations: 0.553 MB / 0.922 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.2664, allocations: 1.656 MB / 0.9236 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.2675, allocations: 0.5934 MB / 0.9242 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.2678, allocations: 262.7 kB / 0.9245 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.2683, allocations: 330.9 kB / 0.9248 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.2685, allocations: 223 kB / 0.925 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.2686, allocations: 16 kB / 0.925 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008518/0.2695, allocations: 451.3 kB / 0.9254 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.418e-05/0.2696, allocations: 111.6 kB / 0.9255 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.2696, allocations: 109.5 kB / 0.9256 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.2702, allocations: 0.5494 MB / 0.9262 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.2702, allocations: 3.938 kB / 0.9262 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2702, allocations: 0 / 0.9262 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2702, allocations: 0 / 0.9262 GB, free: 37.12 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.00105/0.2713, allocations: 0.7707 MB / 0.9269 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2713, allocations: 12.03 kB / 0.927 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.2714, allocations: 66.48 kB / 0.927 GB, free: 36.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.2715, allocations: 59.33 kB / 0.9271 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.2721, allocations: 429.4 kB / 0.9275 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.2721, allocations: 28.52 kB / 0.9275 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.2722, allocations: 28 kB / 0.9275 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.2726, allocations: 284.5 kB / 0.9278 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2726, allocations: 0 / 0.9278 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.2726, allocations: 8 kB / 0.9278 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.026e-06/0.2727, allocations: 8 kB / 0.9278 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.2731, allocations: 210.1 kB / 0.928 GB, free: 35.13 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.001537/0.2746, allocations: 1.289 MB / 0.9293 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.2749, allocations: 201.4 kB / 0.9295 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.2763, allocations: 1.323 MB / 0.9308 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.2763, allocations: 34.5 kB / 0.9308 GB, free: 31.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.853e-06/0.2763, allocations: 0 / 0.9308 GB, free: 31.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0006155/0.2769, allocations: 292.9 kB / 0.9311 GB, free: 31.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.277, allocations: 51.41 kB / 0.9311 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.2775, allocations: 0.573 MB / 0.9317 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.2775, allocations: 33.7 kB / 0.9317 GB, free: 31.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.2777, allocations: 256.3 kB / 0.932 GB, free: 30.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.2777, allocations: 63.11 kB / 0.932 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.2777, allocations: 4 kB / 0.932 GB, free: 30.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.2778, allocations: 362.7 kB / 0.9324 GB, free: 30.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.278, allocations: 87.8 kB / 0.9325 GB, free: 30.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.2782, allocations: 207.9 kB / 0.9327 GB, free: 30 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.2784, allocations: 107.9 kB / 0.9328 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2785, allocations: 0 / 0.9328 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005029/0.279, allocations: 328.6 kB / 0.9331 GB, free: 29.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.2792, allocations: 0.794 MB / 0.9338 GB, free: 28.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2792, allocations: 3.984 kB / 0.9338 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2792, allocations: 4 kB / 0.9339 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.2795, allocations: 63.91 kB / 0.9339 GB, free: 28.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2795, allocations: 7.984 kB / 0.9339 GB, free: 28.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.2798, allocations: 55.61 kB / 0.934 GB, free: 28.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.2798, allocations: 16.08 kB / 0.934 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.2799, allocations: 7.938 kB / 0.934 GB, free: 28.55 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004302/0.2803, allocations: 262.6 kB / 0.9342 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.2803, allocations: 0 / 0.9342 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.2803, allocations: 4 kB / 0.9343 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.2805, allocations: 63.91 kB / 0.9343 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2806, allocations: 7.984 kB / 0.9343 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.2808, allocations: 51.83 kB / 0.9344 GB, free: 28.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.2809, allocations: 19.92 kB / 0.9344 GB, free: 28.15 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.0001899/0.2811, allocations: 261 kB / 0.9346 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.2811, allocations: 47.62 kB / 0.9347 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005465/0.2817, allocations: 303.1 kB / 0.935 GB, free: 27.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.2817, allocations: 0 / 0.935 GB, free: 27.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2817, allocations: 4 kB / 0.935 GB, free: 27.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.2817, allocations: 7.938 kB / 0.935 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009069/0.2826, allocations: 0.7727 MB / 0.9357 GB, free: 26.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.2827, allocations: 0 / 0.9357 GB, free: 26.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.2828, allocations: 44.09 kB / 0.9358 GB, free: 26.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2828, allocations: 3.953 kB / 0.9358 GB, free: 26.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.2828, allocations: 8 kB / 0.9358 GB, free: 26.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2829, allocations: 7.938 kB / 0.9358 GB, free: 26.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2829, allocations: 0 / 0.9358 GB, free: 26.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006584/0.2835, allocations: 0.5165 MB / 0.9363 GB, free: 26.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.2837, allocations: 156.5 kB / 0.9365 GB, free: 25.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.2837, allocations: 7.953 kB / 0.9365 GB, free: 25.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.2839, allocations: 16.05 kB / 0.9365 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.284, allocations: 27.91 kB / 0.9365 GB, free: 25.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.284, allocations: 8 kB / 0.9365 GB, free: 25.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003764/0.2844, allocations: 406.8 kB / 0.9369 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2844, allocations: 0 / 0.9369 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007643/0.2852, allocations: 227.7 kB / 0.9371 GB, free: 25.2 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.00179/0.287, allocations: 1.738 MB / 0.9388 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006806/0.2877, allocations: 349.5 kB / 0.9391 GB, free: 23.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2877, allocations: 0 / 0.9391 GB, free: 23.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.2879, allocations: 115.7 kB / 0.9393 GB, free: 23.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.2891, allocations: 254 kB / 0.9395 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.291, allocations: 2.71 MB / 0.9421 GB, free: 20.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.2913, allocations: 0.8582 MB / 0.943 GB, free: 19.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00034/0.2916, allocations: 104.3 kB / 0.9431 GB, free: 19.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.2918, allocations: 163.4 kB / 0.9432 GB, free: 18.88 MB / 0.6042 GB Notification: Performance of SimCode: time 4.8e-07/0.2918, allocations: 0 / 0.9432 GB, free: 18.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.3203, allocations: 14.29 MB / 0.9572 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/0.3205, allocations: 247.5 kB / 0.9574 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/2.723, allocations: 0 / 0.9574 GB, free: 4.551 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)