Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.001369, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002495/0.002495, allocations: 191.8 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 63.89 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3054, allocations: 114.6 MB / 0.7829 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.7549/1.06, allocations: 153.7 MB / 0.933 GB, free: 43.81 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05508/1.115, allocations: 34.59 MB / 0.9667 GB, free: 43.24 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009841/1.125, allocations: 144.5 kB / 0.9669 GB, free: 43.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003994/1.129, allocations: 0.8708 MB / 0.9677 GB, free: 43.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0118/1.141, allocations: 2.909 MB / 0.9706 GB, free: 42.56 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006659/1.148, allocations: 2.296 MB / 0.9728 GB, free: 41.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.009165/1.157, allocations: 5.322 MB / 0.978 GB, free: 39.57 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004984/1.162, allocations: 2.163 MB / 0.9801 GB, free: 38.63 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00862/1.171, allocations: 2.68 MB / 0.9827 GB, free: 37.51 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006981/1.178, allocations: 1.994 MB / 0.9847 GB, free: 36.81 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001006/1.179, allocations: 210.1 kB / 0.9849 GB, free: 36.81 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004449/1.183, allocations: 1.093 MB / 0.9859 GB, free: 36.54 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008012/1.184, allocations: 0.5516 MB / 0.9865 GB, free: 36.21 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002891/1.187, allocations: 1.249 MB / 0.9877 GB, free: 35.45 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005109/1.192, allocations: 3.243 MB / 0.9909 GB, free: 34.31 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/1.192, allocations: 2.906 kB / 0.9909 GB, free: 34.31 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.144e-06/1.192, allocations: 0 / 0.9909 GB, free: 34.31 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.991e-05/1.192, allocations: 0 / 0.9909 GB, free: 34.31 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004844/1.197, allocations: 2.757 MB / 0.9936 GB, free: 32.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/1.197, allocations: 10.03 kB / 0.9936 GB, free: 32.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/1.198, allocations: 257.4 kB / 0.9938 GB, free: 32.26 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/1.199, allocations: 1.424 MB / 0.9952 GB, free: 31.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/1.2, allocations: 107.9 kB / 0.9953 GB, free: 31.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/1.2, allocations: 137.8 kB / 0.9954 GB, free: 31.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/1.202, allocations: 1.172 MB / 0.9966 GB, free: 30.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/1.202, allocations: 0 / 0.9966 GB, free: 30.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.202, allocations: 46.09 kB / 0.9966 GB, free: 30.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/1.202, allocations: 27.38 kB / 0.9967 GB, free: 30.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/1.204, allocations: 1.014 MB / 0.9977 GB, free: 29.83 MB / 0.7325 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.008652/1.212, allocations: 6.292 MB / 1.004 GB, free: 24.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009193/1.213, allocations: 0.5603 MB / 1.004 GB, free: 24.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/1.214, allocations: 388.8 kB / 1.005 GB, free: 24.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/1.214, allocations: 0.5089 MB / 1.005 GB, free: 23.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/1.214, allocations: 42.03 kB / 1.005 GB, free: 23.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001653/1.216, allocations: 307.2 kB / 1.006 GB, free: 23.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=58): time 3.857e-06/1.216, allocations: 2.875 kB / 1.006 GB, free: 23.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58): time 0.001942/1.218, allocations: 1.156 MB / 1.007 GB, free: 22.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/1.218, allocations: 61.75 kB / 1.007 GB, free: 22.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/1.22, allocations: 1.844 MB / 1.009 GB, free: 21.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.091e-05/1.22, allocations: 50.95 kB / 1.009 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005438/1.22, allocations: 0.9077 MB / 1.009 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/1.22, allocations: 209.2 kB / 1.01 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000377/1.221, allocations: 292.1 kB / 1.01 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/1.221, allocations: 353 kB / 1.01 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006731/1.222, allocations: 452.9 kB / 1.011 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008388/1.222, allocations: 0.7008 MB / 1.011 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/1.224, allocations: 0.9858 MB / 1.012 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.224, allocations: 0 / 1.012 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002228/1.226, allocations: 1.424 MB / 1.014 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.226, allocations: 12.28 kB / 1.014 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.226, allocations: 6.953 kB / 1.014 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/1.226, allocations: 8.094 kB / 1.014 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/1.227, allocations: 285.7 kB / 1.014 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/1.227, allocations: 17.23 kB / 1.014 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/1.229, allocations: 145.2 kB / 1.014 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.229, allocations: 68.56 kB / 1.014 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00108/1.23, allocations: 0.7149 MB / 1.015 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008082/1.231, allocations: 0.6682 MB / 1.016 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001239/1.232, allocations: 0.933 MB / 1.017 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/1.232, allocations: 1.219 kB / 1.017 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002114/1.234, allocations: 1.375 MB / 1.018 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.234, allocations: 5.344 kB / 1.018 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.234, allocations: 2.469 kB / 1.018 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/1.234, allocations: 11.97 kB / 1.018 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.236, allocations: 286.4 kB / 1.018 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.236, allocations: 8.5 kB / 1.018 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/1.237, allocations: 166.1 kB / 1.018 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/1.237, allocations: 61.3 kB / 1.018 GB, free: 15.54 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * 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.0003244/1.238, allocations: 244.6 kB / 1.019 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/1.238, allocations: 197.3 kB / 1.019 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/1.24, allocations: 1.089 MB / 1.02 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/1.24, allocations: 12 kB / 1.02 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.24, allocations: 7.938 kB / 1.02 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/1.24, allocations: 3.984 kB / 1.02 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/1.243, allocations: 2.424 MB / 1.022 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/1.243, allocations: 0 / 1.022 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/1.243, allocations: 135.8 kB / 1.022 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/1.244, allocations: 4.094 kB / 1.022 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/1.244, allocations: 19.98 kB / 1.022 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/1.244, allocations: 4 kB / 1.022 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.244, allocations: 12.17 kB / 1.022 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/1.245, allocations: 1.07 MB / 1.023 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/1.245, allocations: 342.4 kB / 1.024 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/1.246, allocations: 19.98 kB / 1.024 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000875/1.246, allocations: 91.67 kB / 1.024 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.247, allocations: 52.58 kB / 1.024 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/1.247, allocations: 24 kB / 1.024 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001293/1.248, allocations: 1.223 MB / 1.025 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/1.248, allocations: 0 / 1.025 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002126/1.25, allocations: 0.8927 MB / 1.026 GB, free: 7.836 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0006016/1.251, allocations: 343.6 kB / 1.026 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002622/1.253, allocations: 1.695 MB / 1.028 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.253, allocations: 1.5 kB / 1.028 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005104/1.254, allocations: 415.5 kB / 1.028 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004083/1.258, allocations: 1.11 MB / 1.03 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/1.262, allocations: 3.663 MB / 1.033 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/1.263, allocations: 1.397 MB / 1.034 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002024/1.265, allocations: 403.7 kB / 1.035 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/1.265, allocations: 163.4 kB / 1.035 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/1.265, allocations: 4 kB / 1.035 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of Templates: time 0.06811/1.334, allocations: 38.56 MB / 1.073 GB, free: 8.824 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)