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.433/1.433, allocations: 252 MB / 267 MB, free: 10.98 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.001115/0.001115, allocations: 174.2 kB / 326.6 MB, free: 2.227 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.875/1.875, allocations: 205.4 MB / 0.5776 GB, free: 20.53 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.0008783/0.0008784, allocations: 92.31 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004451, allocations: 8.188 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2515, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01153/0.2631, allocations: 14.38 MB / 0.9143 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008647/0.2718, allocations: 6.681 MB / 0.9209 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007251/0.2726, allocations: 11.88 kB / 0.9209 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009143/0.2735, allocations: 202.9 kB / 0.9211 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.275, allocations: 0.4886 MB / 0.9216 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.2766, allocations: 0.5843 MB / 0.9221 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009958/0.2776, allocations: 1.117 MB / 0.9232 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.2779, allocations: 254.5 kB / 0.9235 GB, free: 40.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.2784, allocations: 358.4 kB / 0.9238 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.2787, allocations: 290.7 kB / 0.9241 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.2788, allocations: 16 kB / 0.9241 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008297/0.2796, allocations: 0.534 MB / 0.9246 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.2797, allocations: 87.59 kB / 0.9247 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.852e-05/0.2798, allocations: 105.5 kB / 0.9248 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.2803, allocations: 0.5067 MB / 0.9253 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2803, allocations: 0 / 0.9253 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2804, allocations: 0 / 0.9253 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.587e-06/0.2804, allocations: 0 / 0.9253 GB, free: 38.53 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.0009661/0.2813, allocations: 0.7551 MB / 0.926 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2814, allocations: 8.031 kB / 0.926 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.2814, allocations: 54.55 kB / 0.9261 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/0.2815, allocations: 55.39 kB / 0.9261 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.282, allocations: 396.9 kB / 0.9265 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.282, allocations: 20.44 kB / 0.9265 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.282, allocations: 28 kB / 0.9266 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.2824, allocations: 219.2 kB / 0.9268 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2824, allocations: 4 kB / 0.9268 GB, free: 36.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.2825, allocations: 8 kB / 0.9268 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2825, allocations: 8 kB / 0.9268 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.2828, allocations: 169.6 kB / 0.927 GB, free: 36.72 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.001323/0.2842, allocations: 0.942 MB / 0.9279 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.2844, allocations: 134.6 kB / 0.928 GB, free: 35.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.2846, allocations: 76.75 kB / 0.9281 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/0.2848, allocations: 340.5 kB / 0.9284 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.2848, allocations: 38.56 kB / 0.9284 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.2848, allocations: 0 / 0.9284 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.000554/0.2854, allocations: 253 kB / 0.9287 GB, free: 34.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.2854, allocations: 51.41 kB / 0.9287 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.2858, allocations: 469.9 kB / 0.9292 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.2859, allocations: 33.7 kB / 0.9292 GB, free: 34.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.286, allocations: 224.6 kB / 0.9294 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.286, allocations: 51.27 kB / 0.9295 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.286, allocations: 3.938 kB / 0.9295 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.2861, allocations: 354.8 kB / 0.9298 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.2863, allocations: 75.89 kB / 0.9299 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.2865, allocations: 152.5 kB / 0.93 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.2867, allocations: 79.97 kB / 0.9301 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2867, allocations: 3.938 kB / 0.9301 GB, free: 33.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004367/0.2871, allocations: 263.5 kB / 0.9304 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.2872, allocations: 106.7 kB / 0.9305 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2872, allocations: 0 / 0.9305 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2872, allocations: 4 kB / 0.9305 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.2875, allocations: 47.97 kB / 0.9305 GB, free: 32.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2875, allocations: 4 kB / 0.9305 GB, free: 32.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.2878, allocations: 47.66 kB / 0.9306 GB, free: 32.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.2878, allocations: 11.98 kB / 0.9306 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.2879, allocations: 7.953 kB / 0.9306 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003533/0.2882, allocations: 187.9 kB / 0.9308 GB, free: 32.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.2882, allocations: 4 kB / 0.9308 GB, free: 32.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-06/0.2882, allocations: 0 / 0.9308 GB, free: 32.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.2884, allocations: 47.97 kB / 0.9308 GB, free: 32.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.2884, allocations: 4 kB / 0.9308 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.2887, allocations: 47.72 kB / 0.9309 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.2887, allocations: 7.984 kB / 0.9309 GB, free: 32.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.2889, allocations: 237 kB / 0.9311 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.289, allocations: 47.39 kB / 0.9311 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.2894, allocations: 271.4 kB / 0.9314 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.2895, allocations: 0 / 0.9314 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2895, allocations: 4 kB / 0.9314 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2895, allocations: 0 / 0.9314 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000781/0.2903, allocations: 0.7106 MB / 0.9321 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2903, allocations: 4 kB / 0.9321 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.2904, allocations: 27.98 kB / 0.9321 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2904, allocations: 0 / 0.9321 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2904, allocations: 8 kB / 0.9321 GB, free: 31.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2904, allocations: 11.94 kB / 0.9321 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2904, allocations: 3.938 kB / 0.9322 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.2908, allocations: 354.4 kB / 0.9325 GB, free: 30.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.2909, allocations: 140.6 kB / 0.9326 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.291, allocations: 7.938 kB / 0.9326 GB, free: 30.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.2912, allocations: 31.81 kB / 0.9327 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.2913, allocations: 15.92 kB / 0.9327 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.2913, allocations: 8 kB / 0.9327 GB, free: 30.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002695/0.2916, allocations: 330.9 kB / 0.933 GB, free: 30.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2916, allocations: 0 / 0.933 GB, free: 30.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005548/0.2921, allocations: 191.7 kB / 0.9332 GB, free: 29.95 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 (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.001437/0.2936, allocations: 1.248 MB / 0.9344 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005851/0.2942, allocations: 277.8 kB / 0.9347 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2942, allocations: 0 / 0.9347 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.2944, allocations: 91.83 kB / 0.9348 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.2956, allocations: 227.7 kB / 0.935 GB, free: 28.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.2985, allocations: 2.253 MB / 0.9372 GB, free: 25.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.2987, allocations: 0.8308 MB / 0.938 GB, free: 25.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003097/0.299, allocations: 91.39 kB / 0.9381 GB, free: 24.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.2992, allocations: 143.4 kB / 0.9382 GB, free: 24.82 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2992, allocations: 4 kB / 0.9382 GB, free: 24.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.3238, allocations: 12.29 MB / 0.9502 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/0.324, allocations: 247.3 kB / 0.9504 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/2.78, allocations: 0 / 0.9504 GB, free: 12.42 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)