Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001191/0.00119, allocations: 92 kB / 15.36 MB, free: 0.7383 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.008584/0.008584, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003687, allocations: 12.97 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3814, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.151/0.5325, allocations: 151.1 MB / 1.222 GB, free: 8 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04568/0.5783, allocations: 30.17 MB / 1.251 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007777/0.5861, allocations: 119.2 kB / 1.251 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003185/0.5893, allocations: 0.8116 MB / 1.252 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7033/1.293, allocations: 2.896 MB / 1.255 GB, free: 43.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006417/1.299, allocations: 2.284 MB / 1.257 GB, free: 43.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01036/1.309, allocations: 7.398 MB / 1.264 GB, free: 43.97 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003175/1.313, allocations: 1.849 MB / 1.266 GB, free: 43.79 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006532/1.319, allocations: 2.365 MB / 1.268 GB, free: 43.79 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004205/1.323, allocations: 1.908 MB / 1.27 GB, free: 43.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005459/1.324, allocations: 95.88 kB / 1.27 GB, free: 43.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/1.327, allocations: 0.936 MB / 1.271 GB, free: 43.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005506/1.328, allocations: 446.3 kB / 1.272 GB, free: 43.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001807/1.329, allocations: 1.149 MB / 1.273 GB, free: 43.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004717/1.334, allocations: 3.126 MB / 1.276 GB, free: 43.3 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.334, allocations: 0.5 kB / 1.276 GB, free: 43.3 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.537e-06/1.334, allocations: 0.5 kB / 1.276 GB, free: 43.3 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.236e-05/1.334, allocations: 0 / 1.276 GB, free: 43.3 MB / 0.9981 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.005389/1.34, allocations: 2.352 MB / 1.278 GB, free: 42.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.34, allocations: 8.656 kB / 1.278 GB, free: 42.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006041/1.34, allocations: 264.7 kB / 1.278 GB, free: 41.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/1.343, allocations: 1.454 MB / 1.28 GB, free: 41.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-05/1.343, allocations: 106.8 kB / 1.28 GB, free: 41.38 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/1.343, allocations: 137.9 kB / 1.28 GB, free: 41.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/1.345, allocations: 1.162 MB / 1.281 GB, free: 41.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/1.345, allocations: 3.938 kB / 1.281 GB, free: 41.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/1.346, allocations: 46.06 kB / 1.281 GB, free: 41.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/1.346, allocations: 27.41 kB / 1.281 GB, free: 41.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/1.347, allocations: 1.025 MB / 1.282 GB, free: 41.28 MB / 0.9981 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.009789/1.357, allocations: 6.346 MB / 1.288 GB, free: 38.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/1.358, allocations: 0.5811 MB / 1.289 GB, free: 38.56 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006137/1.359, allocations: 392 kB / 1.289 GB, free: 38.55 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/1.359, allocations: 0.5067 MB / 1.29 GB, free: 37.99 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/1.359, allocations: 41.25 kB / 1.29 GB, free: 37.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001925/1.361, allocations: 326 kB / 1.29 GB, free: 37.88 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=58): time 6.572e-06/1.361, allocations: 0 / 1.29 GB, free: 37.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58): time 0.002209/1.363, allocations: 1.139 MB / 1.291 GB, free: 37.72 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/1.363, allocations: 66.5 kB / 1.291 GB, free: 37.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/1.366, allocations: 1.899 MB / 1.293 GB, free: 37.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/1.366, allocations: 44.95 kB / 1.293 GB, free: 37.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008488/1.367, allocations: 0.9161 MB / 1.294 GB, free: 37.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/1.367, allocations: 199.9 kB / 1.294 GB, free: 37 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/1.368, allocations: 127.2 kB / 1.295 GB, free: 36.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.203e-05/1.368, allocations: 343.9 kB / 1.295 GB, free: 36.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007954/1.369, allocations: 437.2 kB / 1.295 GB, free: 36.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000938/1.369, allocations: 0.6759 MB / 1.296 GB, free: 36.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/1.371, allocations: 0.9583 MB / 1.297 GB, free: 36.33 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/1.371, allocations: 0.7812 kB / 1.297 GB, free: 36.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002686/1.374, allocations: 1.397 MB / 1.298 GB, free: 36.17 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/1.374, allocations: 187.9 kB / 1.298 GB, free: 35.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.374, allocations: 2.656 kB / 1.298 GB, free: 35.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/1.374, allocations: 9.062 kB / 1.298 GB, free: 35.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/1.375, allocations: 284.3 kB / 1.299 GB, free: 35.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/1.375, allocations: 10.94 kB / 1.299 GB, free: 35.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/1.377, allocations: 147.4 kB / 1.299 GB, free: 35.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/1.377, allocations: 58.47 kB / 1.299 GB, free: 35.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/1.377, allocations: 5.75 kB / 1.299 GB, free: 35.93 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002374/1.38, allocations: 1.13 MB / 1.3 GB, free: 35.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.38, allocations: 7.5 kB / 1.3 GB, free: 35.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/1.38, allocations: 8.281 kB / 1.3 GB, free: 35.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/1.381, allocations: 274.3 kB / 1.3 GB, free: 35.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/1.381, allocations: 11.67 kB / 1.3 GB, free: 35.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002956/1.384, allocations: 144.3 kB / 1.3 GB, free: 35.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/1.384, allocations: 63 kB / 1.301 GB, free: 35.86 MB / 0.9981 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 (144): * Single equations (assignments): 144 * 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.001877/1.386, allocations: 444.5 kB / 1.301 GB, free: 35.67 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/1.387, allocations: 209.8 kB / 1.301 GB, free: 35.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/1.39, allocations: 1.069 MB / 1.302 GB, free: 35.47 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/1.39, allocations: 8 kB / 1.302 GB, free: 35.47 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.391, allocations: 2.344 kB / 1.302 GB, free: 35.47 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/1.391, allocations: 10.8 kB / 1.302 GB, free: 35.46 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005226/1.396, allocations: 2.411 MB / 1.305 GB, free: 35.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.396, allocations: 3.406 kB / 1.305 GB, free: 35.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/1.396, allocations: 137.5 kB / 1.305 GB, free: 35.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/1.396, allocations: 7.688 kB / 1.305 GB, free: 35.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/1.396, allocations: 19.62 kB / 1.305 GB, free: 35.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/1.396, allocations: 6.156 kB / 1.305 GB, free: 35.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.396, allocations: 3.25 kB / 1.305 GB, free: 35.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/1.398, allocations: 1.058 MB / 1.306 GB, free: 34.76 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.399, allocations: 381.2 kB / 1.306 GB, free: 34.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005643/1.4, allocations: 16.47 kB / 1.306 GB, free: 34.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/1.401, allocations: 97.31 kB / 1.306 GB, free: 34.54 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/1.401, allocations: 62.84 kB / 1.306 GB, free: 34.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/1.401, allocations: 20.73 kB / 1.306 GB, free: 34.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002292/1.404, allocations: 1.255 MB / 1.308 GB, free: 34.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.483e-06/1.404, allocations: 0 / 1.308 GB, free: 34.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00363/1.407, allocations: 0.896 MB / 1.308 GB, free: 34.27 MB / 0.9981 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.0009715/1.408, allocations: 343 kB / 1.309 GB, free: 34.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003424/1.412, allocations: 1.58 MB / 1.31 GB, free: 34.11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.412, allocations: 384 / 1.31 GB, free: 34.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007017/1.413, allocations: 405.2 kB / 1.311 GB, free: 34.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007517/1.42, allocations: 1.138 MB / 1.312 GB, free: 34.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007024/1.427, allocations: 3.721 MB / 1.315 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/1.429, allocations: 1.412 MB / 1.317 GB, free: 31.26 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002878/1.432, allocations: 404.5 kB / 1.317 GB, free: 31.15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007162/1.432, allocations: 164.5 kB / 1.317 GB, free: 31.15 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.432, allocations: 0 / 1.317 GB, free: 31.15 MB / 0.9981 GB Notification: Performance of Templates: time 0.06192/1.494, allocations: 37 MB / 1.353 GB, free: 11.35 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)