Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.582/1.582, allocations: 252 MB / 267.6 MB, free: 10.95 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.001066/0.001066, allocations: 180.6 kB / 327.3 MB, free: 2.203 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.589/1.589, allocations: 205.4 MB / 0.5783 GB, free: 20.28 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.0006989/0.000699, allocations: 99.98 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.0002981, allocations: 9.031 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1813, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1184/0.2998, allocations: 143.4 MB / 1.041 GB, free: 156 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.492/0.7918, allocations: 32.79 MB / 1.073 GB, free: 42.2 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00608/0.7979, allocations: 134.6 kB / 1.073 GB, free: 42.2 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.8007, allocations: 0.6964 MB / 1.074 GB, free: 42.19 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007485/0.8082, allocations: 2.484 MB / 1.076 GB, free: 42.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005862/0.814, allocations: 1.998 MB / 1.078 GB, free: 42 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009098/0.8232, allocations: 6.176 MB / 1.084 GB, free: 41.99 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002897/0.8261, allocations: 1.643 MB / 1.086 GB, free: 41.8 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005396/0.8315, allocations: 2.181 MB / 1.088 GB, free: 41.78 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003673/0.8352, allocations: 1.767 MB / 1.09 GB, free: 41.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004629/0.8357, allocations: 94.06 kB / 1.09 GB, free: 41.77 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.8384, allocations: 0.8521 MB / 1.09 GB, free: 41.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004581/0.8388, allocations: 406.5 kB / 1.091 GB, free: 41.75 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009388/0.8398, allocations: 465 kB / 1.091 GB, free: 41.72 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002709/0.8425, allocations: 2.374 MB / 1.094 GB, free: 41.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.8425, allocations: 4 kB / 1.094 GB, free: 41.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8425, allocations: 0 / 1.094 GB, free: 41.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.792e-05/0.8426, allocations: 0 / 1.094 GB, free: 41.52 MB / 0.698 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.003995/0.8466, allocations: 2.329 MB / 1.096 GB, free: 40.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.8466, allocations: 12.38 kB / 1.096 GB, free: 40.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.847, allocations: 261.2 kB / 1.096 GB, free: 40.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.8488, allocations: 1.358 MB / 1.097 GB, free: 39.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.8489, allocations: 102.2 kB / 1.098 GB, free: 39.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.8491, allocations: 137 kB / 1.098 GB, free: 39.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.851, allocations: 1.15 MB / 1.099 GB, free: 39.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.8511, allocations: 0 / 1.099 GB, free: 39.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.612e-05/0.8512, allocations: 51.19 kB / 1.099 GB, free: 39.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.8512, allocations: 31 kB / 1.099 GB, free: 39.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.8528, allocations: 1.004 MB / 1.1 GB, free: 39.62 MB / 0.698 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.008174/0.8609, allocations: 6.308 MB / 1.106 GB, free: 36.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007701/0.8617, allocations: 0.5534 MB / 1.107 GB, free: 36.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005139/0.8623, allocations: 386.5 kB / 1.107 GB, free: 36.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.8625, allocations: 0.5081 MB / 1.107 GB, free: 36.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.8626, allocations: 40.59 kB / 1.107 GB, free: 36.34 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001425/0.864, allocations: 340.4 kB / 1.108 GB, free: 36.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 4.328e-06/0.864, allocations: 0 / 1.108 GB, free: 36.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.001688/0.8657, allocations: 1.122 MB / 1.109 GB, free: 36.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.8658, allocations: 58.34 kB / 1.109 GB, free: 36.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.8676, allocations: 1.825 MB / 1.111 GB, free: 35.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.443e-05/0.8677, allocations: 46.23 kB / 1.111 GB, free: 35.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005561/0.8683, allocations: 0.9115 MB / 1.112 GB, free: 35.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.8684, allocations: 204.9 kB / 1.112 GB, free: 35.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.8685, allocations: 26.19 kB / 1.112 GB, free: 35.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.8686, allocations: 351.8 kB / 1.112 GB, free: 35.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.8692, allocations: 410.4 kB / 1.113 GB, free: 35.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007856/0.87, allocations: 0.6639 MB / 1.113 GB, free: 34.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008236/0.8709, allocations: 498.5 kB / 1.114 GB, free: 34.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.8709, allocations: 1.125 kB / 1.114 GB, free: 34.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002306/0.8732, allocations: 1.359 MB / 1.115 GB, free: 34.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.174e-05/0.8733, allocations: 191.5 kB / 1.115 GB, free: 34.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.8733, allocations: 3.562 kB / 1.115 GB, free: 34.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.8733, allocations: 8.781 kB / 1.115 GB, free: 34.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.8747, allocations: 290.6 kB / 1.116 GB, free: 34.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/0.8748, allocations: 16.69 kB / 1.116 GB, free: 34.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.8765, allocations: 158.8 kB / 1.116 GB, free: 34.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.8766, allocations: 65.69 kB / 1.116 GB, free: 34.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.8766, allocations: 3.875 kB / 1.116 GB, free: 34.16 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00174/0.8784, allocations: 1.132 MB / 1.117 GB, free: 33.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.8784, allocations: 3.781 kB / 1.117 GB, free: 33.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.8784, allocations: 11.88 kB / 1.117 GB, free: 33.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.8797, allocations: 285.5 kB / 1.117 GB, free: 33.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.8797, allocations: 10.84 kB / 1.117 GB, free: 33.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.8814, allocations: 152.8 kB / 1.117 GB, free: 33.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/0.8815, allocations: 55.3 kB / 1.117 GB, free: 33.85 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008218/0.8823, allocations: 446.2 kB / 1.118 GB, free: 33.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/0.8826, allocations: 195.9 kB / 1.118 GB, free: 33.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.8846, allocations: 1.069 MB / 1.119 GB, free: 33.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.8846, allocations: 10.41 kB / 1.119 GB, free: 33.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8847, allocations: 0 / 1.119 GB, free: 33.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.8847, allocations: 3.984 kB / 1.119 GB, free: 33.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.8878, allocations: 2.372 MB / 1.121 GB, free: 32.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.8878, allocations: 7.266 kB / 1.121 GB, free: 32.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000526/0.8884, allocations: 151.3 kB / 1.122 GB, free: 32.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.8884, allocations: 3.906 kB / 1.122 GB, free: 32.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.8884, allocations: 21.64 kB / 1.122 GB, free: 32.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.8884, allocations: 4.906 kB / 1.122 GB, free: 32.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8885, allocations: 0 / 1.122 GB, free: 32.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.8897, allocations: 1.041 MB / 1.123 GB, free: 31.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005096/0.8902, allocations: 365.1 kB / 1.123 GB, free: 31.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.8904, allocations: 22.36 kB / 1.123 GB, free: 31.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008526/0.8912, allocations: 96.58 kB / 1.123 GB, free: 31.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.8913, allocations: 50.55 kB / 1.123 GB, free: 31.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/0.8914, allocations: 22.53 kB / 1.123 GB, free: 31.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001334/0.8927, allocations: 1.201 MB / 1.124 GB, free: 31.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8927, allocations: 0 / 1.124 GB, free: 31.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002002/0.8947, allocations: 0.8881 MB / 1.125 GB, free: 31.18 MB / 0.698 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 (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.0005812/0.8953, allocations: 343.7 kB / 1.125 GB, free: 31.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.8976, allocations: 1.571 MB / 1.127 GB, free: 30.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.8976, allocations: 0 / 1.127 GB, free: 30.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005405/0.8982, allocations: 405.6 kB / 1.127 GB, free: 30.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005501/0.9037, allocations: 1.157 MB / 1.129 GB, free: 30.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/0.9087, allocations: 3.52 MB / 1.132 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/0.9095, allocations: 1.391 MB / 1.133 GB, free: 27.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007037/0.9102, allocations: 164.7 kB / 1.133 GB, free: 27.23 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/0.9102, allocations: 3.938 kB / 1.133 GB, free: 27.23 MB / 0.698 GB Notification: Performance of Templates: time 0.0388/0.949, allocations: 30.83 MB / 1.164 GB, free: 15.44 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)