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.001491/0.001491, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001773/0.001773, allocations: 198 kB / 16.14 MB, free: 6.57 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.677/1.677, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.853/2.853, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 61.12 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3678, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1455/0.5134, allocations: 153.4 MB / 1.217 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04519/0.5586, allocations: 30.48 MB / 1.247 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007868/0.5665, allocations: 123.2 kB / 1.247 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004805/0.5715, allocations: 0.8155 MB / 1.248 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7144/1.286, allocations: 2.895 MB / 1.251 GB, free: 44.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006883/1.293, allocations: 2.28 MB / 1.253 GB, free: 44.72 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01371/1.307, allocations: 7.396 MB / 1.26 GB, free: 44.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00392/1.311, allocations: 1.899 MB / 1.262 GB, free: 44.58 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007965/1.318, allocations: 2.423 MB / 1.264 GB, free: 44.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007171/1.326, allocations: 1.975 MB / 1.266 GB, free: 44.47 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001413/1.327, allocations: 125.6 kB / 1.267 GB, free: 44.46 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00502/1.332, allocations: 0.9604 MB / 1.267 GB, free: 44.46 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001619/1.334, allocations: 484.2 kB / 1.268 GB, free: 44.37 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004906/1.339, allocations: 1.171 MB / 1.269 GB, free: 44 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009114/1.348, allocations: 3.204 MB / 1.272 GB, free: 43.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.996e-06/1.348, allocations: 0.5625 kB / 1.272 GB, free: 43.64 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.945e-06/1.348, allocations: 0.5 kB / 1.272 GB, free: 43.64 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002333/1.348, allocations: 0 / 1.272 GB, free: 43.64 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.01401/1.362, allocations: 2.79 MB / 1.275 GB, free: 42.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/1.362, allocations: 10.59 kB / 1.275 GB, free: 42.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/1.364, allocations: 262.5 kB / 1.275 GB, free: 42.21 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005294/1.37, allocations: 1.447 MB / 1.277 GB, free: 41.69 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/1.37, allocations: 104.6 kB / 1.277 GB, free: 41.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000282/1.37, allocations: 138.6 kB / 1.277 GB, free: 41.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/1.373, allocations: 1.162 MB / 1.278 GB, free: 41.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/1.373, allocations: 1.875 kB / 1.278 GB, free: 41.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/1.373, allocations: 50.09 kB / 1.278 GB, free: 41.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/1.373, allocations: 27.81 kB / 1.278 GB, free: 41.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/1.375, allocations: 1.011 MB / 1.279 GB, free: 41.58 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.01464/1.39, allocations: 6.323 MB / 1.285 GB, free: 38.89 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/1.391, allocations: 0.5716 MB / 1.286 GB, free: 38.87 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007155/1.392, allocations: 383.2 kB / 1.286 GB, free: 38.86 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004066/1.392, allocations: 0.5049 MB / 1.287 GB, free: 38.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/1.393, allocations: 43.38 kB / 1.287 GB, free: 38.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002674/1.395, allocations: 320.7 kB / 1.287 GB, free: 38.19 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=58): time 8.636e-06/1.395, allocations: 0 / 1.287 GB, free: 38.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58): time 0.003297/1.399, allocations: 1.121 MB / 1.288 GB, free: 38.03 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/1.399, allocations: 58.12 kB / 1.288 GB, free: 37.97 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005294/1.404, allocations: 1.902 MB / 1.29 GB, free: 37.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000347/1.404, allocations: 51.05 kB / 1.29 GB, free: 37.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/1.405, allocations: 0.9213 MB / 1.291 GB, free: 37.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/1.406, allocations: 197.5 kB / 1.291 GB, free: 37.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009228/1.407, allocations: 296.8 kB / 1.291 GB, free: 37.28 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.407, allocations: 344.5 kB / 1.292 GB, free: 36.97 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/1.408, allocations: 439 kB / 1.292 GB, free: 36.96 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/1.409, allocations: 0.6746 MB / 1.293 GB, free: 36.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/1.411, allocations: 0.9469 MB / 1.294 GB, free: 36.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/1.411, allocations: 4.25 kB / 1.294 GB, free: 36.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004244/1.416, allocations: 1.379 MB / 1.295 GB, free: 36.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/1.416, allocations: 15.17 kB / 1.295 GB, free: 36.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/1.416, allocations: 3.812 kB / 1.295 GB, free: 36.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.489e-05/1.416, allocations: 8.062 kB / 1.295 GB, free: 36.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/1.417, allocations: 276.1 kB / 1.295 GB, free: 36.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.477e-05/1.417, allocations: 11.53 kB / 1.295 GB, free: 36.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00349/1.421, allocations: 136.7 kB / 1.295 GB, free: 36.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/1.421, allocations: 61.03 kB / 1.296 GB, free: 36.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002688/1.424, allocations: 0.7026 MB / 1.296 GB, free: 36.35 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001528/1.425, allocations: 0.6456 MB / 1.297 GB, free: 36.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00207/1.427, allocations: 0.8932 MB / 1.298 GB, free: 35.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.475e-05/1.428, allocations: 1.312 kB / 1.298 GB, free: 35.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.003466/1.431, allocations: 1.335 MB / 1.299 GB, free: 35.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.431, allocations: 7.062 kB / 1.299 GB, free: 35.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.431, allocations: 2.562 kB / 1.299 GB, free: 35.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.431, allocations: 8.156 kB / 1.299 GB, free: 35.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.432, allocations: 271 kB / 1.299 GB, free: 35.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.052e-05/1.432, allocations: 8.938 kB / 1.299 GB, free: 35.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/1.435, allocations: 146.7 kB / 1.299 GB, free: 35.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/1.436, allocations: 58.38 kB / 1.3 GB, free: 35.79 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.0004446/1.436, allocations: 239.5 kB / 1.3 GB, free: 35.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009522/1.437, allocations: 204.7 kB / 1.3 GB, free: 35.49 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/1.44, allocations: 1.066 MB / 1.301 GB, free: 35.39 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.44, allocations: 11.94 kB / 1.301 GB, free: 35.39 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.44, allocations: 0 / 1.301 GB, free: 35.39 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.44, allocations: 7.719 kB / 1.301 GB, free: 35.39 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006944/1.447, allocations: 2.397 MB / 1.303 GB, free: 35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.447, allocations: 4.906 kB / 1.303 GB, free: 35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/1.448, allocations: 133 kB / 1.303 GB, free: 35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/1.448, allocations: 7.938 kB / 1.303 GB, free: 35 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/1.448, allocations: 20.77 kB / 1.304 GB, free: 35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/1.448, allocations: 8.219 kB / 1.304 GB, free: 35 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.448, allocations: 7.719 kB / 1.304 GB, free: 35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/1.45, allocations: 1.047 MB / 1.305 GB, free: 34.69 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/1.451, allocations: 356.7 kB / 1.305 GB, free: 34.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008681/1.452, allocations: 25.33 kB / 1.305 GB, free: 34.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/1.454, allocations: 91.3 kB / 1.305 GB, free: 34.47 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/1.454, allocations: 56.02 kB / 1.305 GB, free: 34.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/1.454, allocations: 26.02 kB / 1.305 GB, free: 34.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003035/1.457, allocations: 1.254 MB / 1.306 GB, free: 34.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.21e-07/1.457, allocations: 0 / 1.306 GB, free: 34.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005365/1.463, allocations: 0.8947 MB / 1.307 GB, free: 34.21 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.001177/1.464, allocations: 335.3 kB / 1.307 GB, free: 34.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003953/1.468, allocations: 1.567 MB / 1.309 GB, free: 34.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.468, allocations: 2.938 kB / 1.309 GB, free: 34.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007113/1.469, allocations: 399.7 kB / 1.309 GB, free: 34.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007336/1.476, allocations: 1.145 MB / 1.311 GB, free: 33.95 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007604/1.484, allocations: 3.704 MB / 1.314 GB, free: 31.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/1.486, allocations: 1.407 MB / 1.316 GB, free: 31.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004066/1.49, allocations: 392.6 kB / 1.316 GB, free: 31.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/1.491, allocations: 161.5 kB / 1.316 GB, free: 31.09 MB / 0.9981 GB Notification: Performance of SimCode: time 2.274e-06/1.491, allocations: 0 / 1.316 GB, free: 31.09 MB / 0.9981 GB Notification: Performance of Templates: time 0.0728/1.564, allocations: 37.24 MB / 1.352 GB, free: 9.219 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)