Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 3.312/3.312, allocations: 287.3 MB / 302.3 MB, free: 8.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 187.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 92.91 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005609/0.0005609, allocations: 15.25 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2228, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02078/0.2436, allocations: 14.83 MB / 0.9928 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01289/0.2565, allocations: 6.69 MB / 0.9993 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007513/0.2574, allocations: 15.88 kB / 0.9993 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.2588, allocations: 286.7 kB / 0.9996 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.2613, allocations: 0.553 MB / 1 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007388/0.2688, allocations: 1.697 MB / 1.002 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.2704, allocations: 0.5856 MB / 1.002 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005882/0.271, allocations: 270.5 kB / 1.003 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.272, allocations: 330.8 kB / 1.003 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005746/0.2726, allocations: 215.1 kB / 1.003 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.599e-05/0.2728, allocations: 19.98 kB / 1.003 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.2743, allocations: 447.3 kB / 1.004 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.2746, allocations: 107.6 kB / 1.004 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.2748, allocations: 113.5 kB / 1.004 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.2763, allocations: 0.5377 MB / 1.004 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2764, allocations: 3.938 kB / 1.004 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.336e-06/0.2764, allocations: 4 kB / 1.004 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.2764, allocations: 0 / 1.004 GB, free: 1.602 MB / 0.6198 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.001725/0.2782, allocations: 0.7707 MB / 1.005 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.2782, allocations: 12.03 kB / 1.005 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.962e-05/0.2783, allocations: 62.48 kB / 1.005 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.2785, allocations: 55.34 kB / 1.005 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008721/0.2794, allocations: 424.8 kB / 1.006 GB, free: 192 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.2795, allocations: 36.52 kB / 1.006 GB, free: 156 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.2796, allocations: 24 kB / 1.006 GB, free: 132 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008248/0.2804, allocations: 290.2 kB / 1.006 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.2804, allocations: 0 / 1.006 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.2805, allocations: 12 kB / 1.006 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.2805, allocations: 4 kB / 1.006 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007248/0.2812, allocations: 202.1 kB / 1.006 GB, free: 15.61 MB / 0.6355 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.003079/0.2843, allocations: 1.48 MB / 1.008 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005409/0.2849, allocations: 174.7 kB / 1.008 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002503/0.2874, allocations: 1.276 MB / 1.009 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.2875, allocations: 42.5 kB / 1.009 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.445e-06/0.2875, allocations: 0 / 1.009 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.001029/0.2886, allocations: 255.1 kB / 1.009 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.2886, allocations: 63.41 kB / 1.009 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.2897, allocations: 0.5769 MB / 1.01 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.2898, allocations: 29.7 kB / 1.01 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.2901, allocations: 268.1 kB / 1.01 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.2902, allocations: 59.19 kB / 1.01 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/0.2902, allocations: 4 kB / 1.01 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.2904, allocations: 362.7 kB / 1.011 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.2908, allocations: 76.52 kB / 1.011 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/0.2913, allocations: 218.7 kB / 1.011 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.2917, allocations: 99.92 kB / 1.011 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2917, allocations: 4 kB / 1.011 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001028/0.2927, allocations: 319 kB / 1.011 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004727/0.2932, allocations: 0.9693 MB / 1.012 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.2932, allocations: 0 / 1.012 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.2933, allocations: 11.94 kB / 1.012 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.2938, allocations: 67.89 kB / 1.012 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.2938, allocations: 8 kB / 1.012 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/0.2945, allocations: 43.67 kB / 1.012 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.2945, allocations: 24.03 kB / 1.012 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.2946, allocations: 7.938 kB / 1.012 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009096/0.2955, allocations: 236.3 kB / 1.013 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2955, allocations: 4 kB / 1.013 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2955, allocations: 8 kB / 1.013 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/0.296, allocations: 72.14 kB / 1.013 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.296, allocations: 7.984 kB / 1.013 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006074/0.2966, allocations: 39.73 kB / 1.013 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.2967, allocations: 23.92 kB / 1.013 GB, free: 8.336 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0004049/0.2971, allocations: 261 kB / 1.013 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.2972, allocations: 51.34 kB / 1.013 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000941/0.2982, allocations: 264.7 kB / 1.013 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.2982, allocations: 4 kB / 1.013 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2982, allocations: 4 kB / 1.013 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2982, allocations: 0 / 1.013 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.2999, allocations: 0.7434 MB / 1.014 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.3, allocations: 4 kB / 1.014 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.3002, allocations: 31.92 kB / 1.014 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.3003, allocations: 4 kB / 1.014 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.3003, allocations: 3.984 kB / 1.014 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/0.3003, allocations: 4 kB / 1.014 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.3003, allocations: 3.953 kB / 1.014 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/0.3012, allocations: 414.7 kB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.3015, allocations: 152.4 kB / 1.015 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.209e-05/0.3016, allocations: 11.95 kB / 1.015 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.302, allocations: 19.98 kB / 1.015 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.3021, allocations: 15.98 kB / 1.015 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.3021, allocations: 4 kB / 1.015 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007663/0.3029, allocations: 410.8 kB / 1.015 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3029, allocations: 0 / 1.015 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001156/0.3041, allocations: 239.6 kB / 1.015 GB, free: 5.578 MB / 0.6355 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 (17): * Single equations (assignments): 15 * 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.002746/0.3068, allocations: 1.592 MB / 1.017 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.3082, allocations: 334 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3082, allocations: 0 / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.3086, allocations: 100.8 kB / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.3108, allocations: 257.7 kB / 1.018 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.3146, allocations: 2.937 MB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.3153, allocations: 0.8545 MB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007268/0.316, allocations: 104.3 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.3164, allocations: 163.4 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of SimCode: time 1.332e-06/0.3164, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.3676, allocations: 14.04 MB / 1.035 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003286/0.368, allocations: 227 kB / 1.035 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/3.442, allocations: 0 / 1.035 GB, free: 1.188 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)