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.382/1.382, allocations: 251.5 MB / 267.4 MB, free: 11 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.001062/0.001062, allocations: 179.4 kB / 326.5 MB, free: 2.664 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.611/1.611, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0008909/0.0008913, allocations: 91.92 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 8.938 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1769, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1198/0.2967, allocations: 153.8 MB / 1.047 GB, free: 9.887 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.3873/0.6841, allocations: 35.12 MB / 1.081 GB, free: 39.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005415/0.6896, allocations: 142.8 kB / 1.081 GB, free: 39.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002694/0.6923, allocations: 0.8209 MB / 1.082 GB, free: 39.05 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007843/0.7001, allocations: 2.863 MB / 1.085 GB, free: 38.92 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00551/0.7057, allocations: 2.309 MB / 1.087 GB, free: 38.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007912/0.7136, allocations: 7.301 MB / 1.094 GB, free: 38.83 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.7162, allocations: 1.801 MB / 1.096 GB, free: 38.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004989/0.7212, allocations: 2.37 MB / 1.098 GB, free: 38.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.7244, allocations: 1.876 MB / 1.1 GB, free: 38.53 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004127/0.7248, allocations: 94.22 kB / 1.1 GB, free: 38.53 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.7272, allocations: 0.9403 MB / 1.101 GB, free: 38.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004071/0.7277, allocations: 435.9 kB / 1.102 GB, free: 38.47 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.729, allocations: 1.101 MB / 1.103 GB, free: 38.11 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.7313, allocations: 2.389 MB / 1.105 GB, free: 37.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7313, allocations: 2.719 kB / 1.105 GB, free: 37.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7313, allocations: 4 kB / 1.105 GB, free: 37.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.317e-05/0.7313, allocations: 0 / 1.105 GB, free: 37.91 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.003539/0.7349, allocations: 2.309 MB / 1.107 GB, free: 36.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.7349, allocations: 10.38 kB / 1.107 GB, free: 36.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000377/0.7353, allocations: 261.9 kB / 1.108 GB, free: 36.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.7371, allocations: 1.434 MB / 1.109 GB, free: 36.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.7372, allocations: 106.1 kB / 1.109 GB, free: 36.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.7373, allocations: 134.9 kB / 1.109 GB, free: 36.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.7391, allocations: 1.159 MB / 1.11 GB, free: 35.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.7391, allocations: 0 / 1.11 GB, free: 35.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.964e-05/0.7392, allocations: 50.91 kB / 1.11 GB, free: 35.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.7393, allocations: 30.22 kB / 1.11 GB, free: 35.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.7409, allocations: 1.022 MB / 1.111 GB, free: 35.9 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.008874/0.7498, allocations: 6.306 MB / 1.118 GB, free: 32.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008774/0.7507, allocations: 0.5593 MB / 1.118 GB, free: 32.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.7512, allocations: 386.5 kB / 1.118 GB, free: 32.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.7514, allocations: 0.5094 MB / 1.119 GB, free: 32.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.7515, allocations: 36.5 kB / 1.119 GB, free: 32 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001372/0.7528, allocations: 336 kB / 1.119 GB, free: 31.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 3.747e-06/0.7529, allocations: 0 / 1.119 GB, free: 31.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.001778/0.7546, allocations: 1.126 MB / 1.12 GB, free: 31.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.7547, allocations: 56.94 kB / 1.12 GB, free: 31.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.7566, allocations: 1.85 MB / 1.122 GB, free: 31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.367e-05/0.7567, allocations: 57.8 kB / 1.122 GB, free: 30.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005248/0.7572, allocations: 0.9004 MB / 1.123 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.7574, allocations: 205.4 kB / 1.123 GB, free: 30.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.7575, allocations: 118.2 kB / 1.124 GB, free: 30.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.301e-05/0.7576, allocations: 362.8 kB / 1.124 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006829/0.7582, allocations: 435.2 kB / 1.124 GB, free: 30.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000814/0.7591, allocations: 0.6786 MB / 1.125 GB, free: 29.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.7604, allocations: 0.9612 MB / 1.126 GB, free: 29.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.7604, allocations: 0 / 1.126 GB, free: 29.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002117/0.7625, allocations: 1.398 MB / 1.127 GB, free: 28.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.7626, allocations: 191.2 kB / 1.127 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.7626, allocations: 7.453 kB / 1.127 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.7626, allocations: 13.55 kB / 1.127 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.7637, allocations: 290.8 kB / 1.128 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.7638, allocations: 11.94 kB / 1.128 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.7653, allocations: 156.7 kB / 1.128 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.647e-05/0.7654, allocations: 58.77 kB / 1.128 GB, free: 28.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/0.7655, allocations: 3.375 kB / 1.128 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001629/0.7671, allocations: 1.147 MB / 1.129 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7671, allocations: 3.344 kB / 1.129 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.7671, allocations: 6.531 kB / 1.129 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.7682, allocations: 286.8 kB / 1.129 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.7682, allocations: 11.08 kB / 1.129 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.7696, allocations: 150.1 kB / 1.13 GB, free: 27.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.313e-05/0.7697, allocations: 58.64 kB / 1.13 GB, free: 27.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007073/0.7704, allocations: 452.8 kB / 1.13 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.7707, allocations: 197.6 kB / 1.13 GB, free: 27.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.7723, allocations: 1.054 MB / 1.131 GB, free: 26.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.7723, allocations: 13.89 kB / 1.131 GB, free: 26.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7724, allocations: 3.938 kB / 1.131 GB, free: 26.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.7724, allocations: 7.984 kB / 1.131 GB, free: 26.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/0.7753, allocations: 2.38 MB / 1.134 GB, free: 24.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.7753, allocations: 0 / 1.134 GB, free: 24.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.7758, allocations: 135.4 kB / 1.134 GB, free: 24.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.7758, allocations: 9.438 kB / 1.134 GB, free: 24.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.7759, allocations: 19.28 kB / 1.134 GB, free: 24.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.7759, allocations: 7.375 kB / 1.134 GB, free: 24.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7759, allocations: 2.438 kB / 1.134 GB, free: 24.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.7772, allocations: 1.052 MB / 1.135 GB, free: 24.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.7777, allocations: 343.4 kB / 1.135 GB, free: 23.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.7779, allocations: 19.17 kB / 1.135 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008379/0.7788, allocations: 97.02 kB / 1.135 GB, free: 23.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.7789, allocations: 58.05 kB / 1.135 GB, free: 23.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.7789, allocations: 20.53 kB / 1.135 GB, free: 23.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001366/0.7803, allocations: 1.226 MB / 1.136 GB, free: 23.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7803, allocations: 0 / 1.136 GB, free: 23.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001965/0.7823, allocations: 0.8888 MB / 1.137 GB, free: 23.03 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 (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.0006038/0.7829, allocations: 357.2 kB / 1.138 GB, free: 22.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002348/0.7853, allocations: 1.612 MB / 1.139 GB, free: 22.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7853, allocations: 0 / 1.139 GB, free: 22.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005058/0.7858, allocations: 402.6 kB / 1.14 GB, free: 22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005473/0.7913, allocations: 1.161 MB / 1.141 GB, free: 20.85 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/0.7952, allocations: 3.693 MB / 1.144 GB, free: 17.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/0.7958, allocations: 1.394 MB / 1.146 GB, free: 15.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/0.7963, allocations: 163.4 kB / 1.146 GB, free: 15.53 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/0.7963, allocations: 0 / 1.146 GB, free: 15.53 MB / 0.698 GB Notification: Performance of Templates: time 0.03777/0.8341, allocations: 30.77 MB / 1.176 GB, free: 1.141 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)