Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.225/2.225, allocations: 391.2 MB / 407 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 183.4 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 111.5 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 52.69 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2744, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.111/0.3855, allocations: 153.3 MB / 1.368 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.04126/0.4268, allocations: 30.47 MB / 1.398 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006468/0.4334, allocations: 127.1 kB / 1.398 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.003437/0.4369, allocations: 0.8233 MB / 1.399 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.008828/0.4457, allocations: 2.889 MB / 1.401 GB, free: 9.016 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.006689/0.4524, allocations: 2.291 MB / 1.404 GB, free: 6.758 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.4627, allocations: 7.424 MB / 1.411 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004193/0.4669, allocations: 1.896 MB / 1.413 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006618/0.4736, allocations: 2.462 MB / 1.415 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004066/0.4777, allocations: 1.968 MB / 1.417 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0008474/0.4786, allocations: 124 kB / 1.417 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.4817, allocations: 0.9593 MB / 1.418 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0009141/0.4826, allocations: 477.8 kB / 1.419 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002598/0.4853, allocations: 1.169 MB / 1.42 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.4901, allocations: 3.197 MB / 1.423 GB, free: 2.984 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4902, allocations: 4 kB / 1.423 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4902, allocations: 0 / 1.423 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001362/0.4903, allocations: 4 kB / 1.423 GB, free: 2.977 MB / 0.9167 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.007137/0.4975, allocations: 2.783 MB / 1.426 GB, free: 132 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4975, allocations: 11.98 kB / 1.426 GB, free: 120 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5158/1.013, allocations: 259.8 kB / 1.426 GB, free: 205.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/1.016, allocations: 1.445 MB / 1.427 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/1.016, allocations: 101.8 kB / 1.427 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/1.017, allocations: 141 kB / 1.427 GB, free: 205.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/1.019, allocations: 1.16 MB / 1.429 GB, free: 204.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/1.019, allocations: 4.828 kB / 1.429 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.39e-05/1.019, allocations: 53.53 kB / 1.429 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/1.019, allocations: 29.41 kB / 1.429 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/1.021, allocations: 1.009 MB / 1.43 GB, free: 204.2 MB / 0.9167 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.01099/1.032, allocations: 6.313 MB / 1.436 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/1.033, allocations: 0.5725 MB / 1.436 GB, free: 200 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/1.033, allocations: 384 kB / 1.437 GB, free: 199.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003624/1.034, allocations: 0.5007 MB / 1.437 GB, free: 199.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/1.034, allocations: 38.95 kB / 1.437 GB, free: 199.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001818/1.036, allocations: 338.2 kB / 1.438 GB, free: 199.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=58): time 3.316e-06/1.036, allocations: 0 / 1.438 GB, free: 199.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=58): time 0.002121/1.038, allocations: 1.125 MB / 1.439 GB, free: 198.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/1.038, allocations: 59.39 kB / 1.439 GB, free: 198.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/1.041, allocations: 1.895 MB / 1.441 GB, free: 197.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.872e-05/1.041, allocations: 47.73 kB / 1.441 GB, free: 197.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006362/1.041, allocations: 0.9239 MB / 1.442 GB, free: 197.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/1.042, allocations: 200.9 kB / 1.442 GB, free: 197 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000519/1.042, allocations: 301.4 kB / 1.442 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.042, allocations: 350.6 kB / 1.442 GB, free: 196.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000864/1.043, allocations: 449.9 kB / 1.443 GB, free: 196.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009805/1.044, allocations: 0.677 MB / 1.443 GB, free: 195.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/1.046, allocations: 0.9593 MB / 1.444 GB, free: 195.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/1.046, allocations: 1.156 kB / 1.444 GB, free: 195.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002769/1.048, allocations: 1.401 MB / 1.446 GB, free: 194.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.048, allocations: 6.312 kB / 1.446 GB, free: 194.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.048, allocations: 4 kB / 1.446 GB, free: 194.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/1.048, allocations: 9.328 kB / 1.446 GB, free: 194.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.05, allocations: 292.4 kB / 1.446 GB, free: 194.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/1.05, allocations: 12.69 kB / 1.446 GB, free: 194.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.052, allocations: 146.5 kB / 1.446 GB, free: 194.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/1.052, allocations: 59.27 kB / 1.446 GB, free: 194.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00156/1.053, allocations: 0.7072 MB / 1.447 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001033/1.054, allocations: 0.659 MB / 1.448 GB, free: 194 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001464/1.056, allocations: 0.9095 MB / 1.448 GB, free: 193.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.871e-06/1.056, allocations: 1.125 kB / 1.448 GB, free: 193.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002711/1.059, allocations: 1.349 MB / 1.45 GB, free: 193 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.059, allocations: 7.125 kB / 1.45 GB, free: 193 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/1.059, allocations: 3.25 kB / 1.45 GB, free: 193 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.059, allocations: 12.03 kB / 1.45 GB, free: 193 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.06, allocations: 286.2 kB / 1.45 GB, free: 193 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/1.06, allocations: 9.766 kB / 1.45 GB, free: 193 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/1.062, allocations: 154.8 kB / 1.45 GB, free: 192.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.062, allocations: 57.05 kB / 1.45 GB, free: 192.9 MB / 0.9167 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.0003695/1.063, allocations: 246 kB / 1.451 GB, free: 192.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/1.063, allocations: 197 kB / 1.451 GB, free: 192.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/1.065, allocations: 1.07 MB / 1.452 GB, free: 192.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/1.065, allocations: 8.547 kB / 1.452 GB, free: 192.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.065, allocations: 4.5 kB / 1.452 GB, free: 192.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/1.065, allocations: 3.656 kB / 1.452 GB, free: 192.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003888/1.069, allocations: 2.405 MB / 1.454 GB, free: 190.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.069, allocations: 1.156 kB / 1.454 GB, free: 190.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/1.07, allocations: 140.3 kB / 1.454 GB, free: 190.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/1.07, allocations: 7 kB / 1.454 GB, free: 190.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/1.07, allocations: 15.81 kB / 1.454 GB, free: 190.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/1.07, allocations: 11.17 kB / 1.454 GB, free: 190.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.07, allocations: 1.281 kB / 1.454 GB, free: 190.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/1.073, allocations: 2.387 MB / 1.457 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007612/1.074, allocations: 358 kB / 1.457 GB, free: 188.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/1.074, allocations: 16.88 kB / 1.457 GB, free: 188.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009281/1.075, allocations: 97.59 kB / 1.457 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.075, allocations: 57.09 kB / 1.457 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/1.075, allocations: 26.05 kB / 1.457 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001546/1.077, allocations: 1.251 MB / 1.458 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.01e-07/1.077, allocations: 0 / 1.458 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002233/1.079, allocations: 0.9173 MB / 1.459 GB, free: 187.9 MB / 0.9167 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.000606/1.079, allocations: 351.7 kB / 1.46 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002665/1.082, allocations: 1.6 MB / 1.461 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.082, allocations: 0 / 1.461 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005176/1.083, allocations: 394.9 kB / 1.462 GB, free: 186.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005729/1.088, allocations: 1.137 MB / 1.463 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/1.093, allocations: 4.106 MB / 1.467 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/1.094, allocations: 1.432 MB / 1.468 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001803/1.096, allocations: 398.5 kB / 1.468 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/1.096, allocations: 155.4 kB / 1.469 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of SimCode: time 7.31e-07/1.096, allocations: 0 / 1.469 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.04956/1.146, allocations: 38.26 MB / 1.506 GB, free: 141.4 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)