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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008793/0.0008792, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0009348/0.0009351, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.635/1.635, allocations: 252 MB / 0.5102 GB, free: 4.824 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005226/0.0005226, allocations: 19.98 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.5506, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1461/0.6967, allocations: 143.4 MB / 0.8681 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.05386/0.7506, allocations: 32.8 MB / 0.9002 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008358/0.759, allocations: 134.9 kB / 0.9003 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004441/0.7635, allocations: 0.6944 MB / 0.901 GB, free: 9.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.7746, allocations: 2.496 MB / 0.9034 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008456/0.7831, allocations: 1.993 MB / 0.9053 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.5777/1.361, allocations: 6.171 MB / 0.9114 GB, free: 45.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004599/1.365, allocations: 1.642 MB / 0.913 GB, free: 45.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00789/1.373, allocations: 2.177 MB / 0.9151 GB, free: 45.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005843/1.379, allocations: 1.768 MB / 0.9168 GB, free: 45.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009184/1.38, allocations: 94.09 kB / 0.9169 GB, free: 45.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/1.384, allocations: 0.8476 MB / 0.9177 GB, free: 45.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006623/1.385, allocations: 409.2 kB / 0.9181 GB, free: 45.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/1.387, allocations: 461.8 kB / 0.9186 GB, free: 45.45 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004439/1.391, allocations: 2.37 MB / 0.9209 GB, free: 45.36 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.391, allocations: 3.016 kB / 0.9209 GB, free: 45.36 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.256e-06/1.391, allocations: 0.9062 kB / 0.9209 GB, free: 45.36 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001296/1.391, allocations: 0.5625 kB / 0.9209 GB, free: 45.36 MB / 0.7169 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.006126/1.397, allocations: 2.338 MB / 0.9232 GB, free: 44.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.397, allocations: 11.81 kB / 0.9232 GB, free: 44.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007648/1.398, allocations: 261.8 kB / 0.9234 GB, free: 44.12 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/1.401, allocations: 1.351 MB / 0.9248 GB, free: 43.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.892e-05/1.401, allocations: 110.1 kB / 0.9249 GB, free: 43.67 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/1.401, allocations: 136.7 kB / 0.925 GB, free: 43.67 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/1.403, allocations: 1.154 MB / 0.9261 GB, free: 43.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/1.403, allocations: 0 / 0.9261 GB, free: 43.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.553e-05/1.403, allocations: 51.05 kB / 0.9262 GB, free: 43.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/1.403, allocations: 26.69 kB / 0.9262 GB, free: 43.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/1.405, allocations: 1.013 MB / 0.9272 GB, free: 43.57 MB / 0.7169 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.01041/1.416, allocations: 6.298 MB / 0.9333 GB, free: 40.95 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008471/1.416, allocations: 0.5632 MB / 0.9339 GB, free: 40.92 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005323/1.417, allocations: 382.3 kB / 0.9343 GB, free: 40.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003678/1.417, allocations: 0.5038 MB / 0.9347 GB, free: 40.35 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/1.417, allocations: 45 kB / 0.9348 GB, free: 40.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002018/1.419, allocations: 338.8 kB / 0.9351 GB, free: 40.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 4.618e-06/1.419, allocations: 3.906 kB / 0.9351 GB, free: 40.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.00196/1.421, allocations: 1.12 MB / 0.9362 GB, free: 40.08 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/1.421, allocations: 55.44 kB / 0.9363 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/1.424, allocations: 1.829 MB / 0.938 GB, free: 39.78 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/1.424, allocations: 46.02 kB / 0.9381 GB, free: 39.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000629/1.425, allocations: 0.903 MB / 0.939 GB, free: 39.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/1.425, allocations: 205.3 kB / 0.9392 GB, free: 39.36 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/1.425, allocations: 21.16 kB / 0.9392 GB, free: 39.36 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.039e-05/1.425, allocations: 349.6 kB / 0.9395 GB, free: 39.05 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/1.426, allocations: 416.7 kB / 0.9399 GB, free: 39.05 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008166/1.426, allocations: 0.6623 MB / 0.9406 GB, free: 38.83 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007733/1.427, allocations: 0.4915 MB / 0.941 GB, free: 38.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.427, allocations: 7.609 kB / 0.9411 GB, free: 38.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002372/1.43, allocations: 1.355 MB / 0.9424 GB, free: 38.67 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.43, allocations: 193.6 kB / 0.9426 GB, free: 38.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.43, allocations: 3.375 kB / 0.9426 GB, free: 38.45 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/1.43, allocations: 12.22 kB / 0.9426 GB, free: 38.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.431, allocations: 291.1 kB / 0.9429 GB, free: 38.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/1.431, allocations: 6.5 kB / 0.9429 GB, free: 38.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/1.433, allocations: 157 kB / 0.943 GB, free: 38.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/1.433, allocations: 61.8 kB / 0.9431 GB, free: 38.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.834e-06/1.433, allocations: 6.438 kB / 0.9431 GB, free: 38.43 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001746/1.435, allocations: 1.141 MB / 0.9442 GB, free: 38.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.435, allocations: 2.5 kB / 0.9442 GB, free: 38.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/1.435, allocations: 10 kB / 0.9442 GB, free: 38.39 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.436, allocations: 283.9 kB / 0.9445 GB, free: 38.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/1.436, allocations: 12.06 kB / 0.9445 GB, free: 38.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/1.438, allocations: 149.3 kB / 0.9446 GB, free: 38.36 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.438, allocations: 61.23 kB / 0.9447 GB, free: 38.36 MB / 0.7169 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.0009353/1.439, allocations: 449.9 kB / 0.9451 GB, free: 38.17 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/1.439, allocations: 195.1 kB / 0.9453 GB, free: 38.06 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/1.441, allocations: 1.064 MB / 0.9463 GB, free: 37.96 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/1.441, allocations: 10.41 kB / 0.9463 GB, free: 37.96 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.441, allocations: 2.516 kB / 0.9463 GB, free: 37.96 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.441, allocations: 5.906 kB / 0.9464 GB, free: 37.96 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/1.445, allocations: 2.37 MB / 0.9487 GB, free: 37.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.445, allocations: 0 / 0.9487 GB, free: 37.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005263/1.445, allocations: 139.8 kB / 0.9488 GB, free: 37.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/1.445, allocations: 10.11 kB / 0.9488 GB, free: 37.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/1.445, allocations: 22.12 kB / 0.9488 GB, free: 37.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/1.445, allocations: 6.312 kB / 0.9488 GB, free: 37.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.445, allocations: 4 kB / 0.9488 GB, free: 37.56 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/1.447, allocations: 1.042 MB / 0.9499 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007566/1.447, allocations: 360.7 kB / 0.9502 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/1.448, allocations: 21.27 kB / 0.9502 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007985/1.448, allocations: 97.91 kB / 0.9503 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/1.449, allocations: 55.72 kB / 0.9504 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/1.449, allocations: 24.31 kB / 0.9504 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001559/1.45, allocations: 1.198 MB / 0.9516 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.91e-07/1.45, allocations: 0 / 0.9516 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002625/1.453, allocations: 0.8946 MB / 0.9524 GB, free: 36.78 MB / 0.7169 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.0008429/1.454, allocations: 344.4 kB / 0.9528 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002794/1.456, allocations: 1.572 MB / 0.9543 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.456, allocations: 0 / 0.9543 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005239/1.457, allocations: 395.4 kB / 0.9547 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005552/1.463, allocations: 1.157 MB / 0.9558 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006119/1.469, allocations: 3.459 MB / 0.9592 GB, free: 34.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009741/1.47, allocations: 1.396 MB / 0.9606 GB, free: 34.02 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002409/1.472, allocations: 402.3 kB / 0.9609 GB, free: 33.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/1.473, allocations: 160.5 kB / 0.9611 GB, free: 33.91 MB / 0.7169 GB Notification: Performance of SimCode: time 3.155e-06/1.473, allocations: 2.516 kB / 0.9611 GB, free: 33.91 MB / 0.7169 GB Notification: Performance of Templates: time 0.05844/1.531, allocations: 36.18 MB / 0.9964 GB, free: 8.875 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: