Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 91.84 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.01358/0.01358, 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 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.827/1.827, allocations: 292.7 MB / 0.5502 GB, free: 14.52 MB / 462.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.0005906/0.0005902, allocations: 17.09 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.253, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03122/0.2843, allocations: 30.13 MB / 0.8173 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02238/0.3067, allocations: 14.18 MB / 0.8312 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.3091, allocations: 31.69 kB / 0.8312 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.3111, allocations: 314.2 kB / 0.8315 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004914/0.316, allocations: 1.057 MB / 0.8325 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.3191, allocations: 0.7641 MB / 0.8333 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004448/0.3236, allocations: 2.83 MB / 0.836 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.3251, allocations: 0.5535 MB / 0.8366 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.328, allocations: 0.8672 MB / 0.8374 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.3295, allocations: 0.6611 MB / 0.8381 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.3297, allocations: 32 kB / 0.8381 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.3314, allocations: 0.5692 MB / 0.8386 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.3318, allocations: 135.3 kB / 0.8388 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000924/0.3327, allocations: 427.4 kB / 0.8392 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.3347, allocations: 1.031 MB / 0.8402 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.3347, allocations: 8 kB / 0.8402 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3348, allocations: 4 kB / 0.8402 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.849e-05/0.3348, allocations: 0 / 0.8402 GB, free: 5.848 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002508/0.3373, allocations: 1.004 MB / 0.8412 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/0.3374, allocations: 8.031 kB / 0.8412 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.3378, allocations: 99.75 kB / 0.8413 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.339, allocations: 0.5575 MB / 0.8418 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.3391, allocations: 41 kB / 0.8419 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.671e-05/0.3392, allocations: 59.94 kB / 0.8419 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009242/0.3401, allocations: 422.4 kB / 0.8423 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3401, allocations: 0 / 0.8423 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.62e-05/0.3402, allocations: 20 kB / 0.8423 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.3402, allocations: 8 kB / 0.8424 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/0.3409, allocations: 307.8 kB / 0.8426 GB, free: 3.242 MB / 0.6544 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.002902/0.3438, allocations: 1.869 MB / 0.8445 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.3442, allocations: 174.5 kB / 0.8446 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.3444, allocations: 88.81 kB / 0.8447 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.3447, allocations: 340.4 kB / 0.845 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3447, allocations: 30.56 kB / 0.8451 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 2.324e-06/0.3447, allocations: 0 / 0.8451 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.0007543/0.3455, allocations: 327.2 kB / 0.8454 GB, free: 184 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.3455, allocations: 51.41 kB / 0.8454 GB, free: 120 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00077/0.3463, allocations: 0.6726 MB / 0.8461 GB, free: 15.44 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.3464, allocations: 37.64 kB / 0.8461 GB, free: 15.39 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.3466, allocations: 364 kB / 0.8465 GB, free: 15.03 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.3467, allocations: 63.11 kB / 0.8465 GB, free: 14.97 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.3468, allocations: 45.69 kB / 0.8466 GB, free: 14.92 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3469, allocations: 382.7 kB / 0.8469 GB, free: 14.54 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.3472, allocations: 111.9 kB / 0.8471 GB, free: 14.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.3475, allocations: 190 kB / 0.8472 GB, free: 14.21 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.348, allocations: 244.9 kB / 0.8475 GB, free: 13.96 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.348, allocations: 3.938 kB / 0.8475 GB, free: 13.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007159/0.3487, allocations: 410.2 kB / 0.8479 GB, free: 13.55 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.912e-05/0.3488, allocations: 109.7 kB / 0.848 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3488, allocations: 4 kB / 0.848 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3488, allocations: 4 kB / 0.848 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.3499, allocations: 156 kB / 0.8481 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.3512, allocations: 2.375 MB / 0.8504 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/0.3518, allocations: 83.56 kB / 0.8505 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.3519, allocations: 19.97 kB / 0.8505 GB, free: 10.71 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.3519, allocations: 4 kB / 0.8505 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005826/0.3525, allocations: 296 kB / 0.8508 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.3525, allocations: 4 kB / 0.8508 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.403e-06/0.3525, allocations: 4 kB / 0.8508 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.353, allocations: 99.88 kB / 0.8509 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.353, allocations: 7.938 kB / 0.8509 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.3535, allocations: 75.62 kB / 0.851 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.3535, allocations: 19.92 kB / 0.851 GB, free: 10.21 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003161/0.3538, allocations: 265 kB / 0.8513 GB, free: 9.938 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.3539, allocations: 67.16 kB / 0.8513 GB, free: 9.871 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006729/0.3546, allocations: 322.7 kB / 0.8517 GB, free: 9.551 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.3546, allocations: 4 kB / 0.8517 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3547, allocations: 0 / 0.8517 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3547, allocations: 0 / 0.8517 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.356, allocations: 0.9033 MB / 0.8525 GB, free: 8.574 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.356, allocations: 0 / 0.8525 GB, free: 8.574 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.3563, allocations: 83.83 kB / 0.8526 GB, free: 8.492 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3563, allocations: 4 kB / 0.8526 GB, free: 8.488 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3564, allocations: 11.92 kB / 0.8526 GB, free: 8.477 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.3574, allocations: 2.36 MB / 0.8549 GB, free: 6.023 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3574, allocations: 4 kB / 0.8549 GB, free: 6.02 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005684/0.358, allocations: 408.3 kB / 0.8553 GB, free: 5.594 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.3582, allocations: 180 kB / 0.8555 GB, free: 5.398 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/0.3583, allocations: 4 kB / 0.8555 GB, free: 5.395 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.3587, allocations: 47.95 kB / 0.8556 GB, free: 5.348 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.3588, allocations: 19.97 kB / 0.8556 GB, free: 5.328 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.3588, allocations: 8 kB / 0.8556 GB, free: 5.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005357/0.3593, allocations: 471 kB / 0.856 GB, free: 4.863 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3593, allocations: 0 / 0.856 GB, free: 4.863 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008829/0.3602, allocations: 343.1 kB / 0.8564 GB, free: 4.527 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004925/0.3607, allocations: 244.6 kB / 0.8566 GB, free: 4.289 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.3624, allocations: 0.5032 MB / 0.8571 GB, free: 3.785 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3624, allocations: 4 kB / 0.8571 GB, free: 3.781 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.3628, allocations: 143.7 kB / 0.8572 GB, free: 3.641 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.365, allocations: 382 kB / 0.8576 GB, free: 3.273 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.3669, allocations: 1.369 MB / 0.8589 GB, free: 1.871 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.3673, allocations: 0.9215 MB / 0.8598 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004713/0.3678, allocations: 124.7 kB / 0.8599 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.3679, allocations: 51.44 kB / 0.86 GB, free: 0.75 MB / 0.67 GB Notification: Performance of SimCode: time 7.72e-07/0.3679, allocations: 3.938 kB / 0.86 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of Templates: time 0.02524/0.3932, allocations: 12.46 MB / 0.8722 GB, free: 4.508 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: