Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001193/0.001193, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.001431, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.48/1.48, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.776/1.776, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001809/0.001809, allocations: 68.97 kB / 0.6723 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3174, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.7557/1.073, allocations: 155.1 MB / 0.9356 GB, free: 41.8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05088/1.124, allocations: 34.74 MB / 0.9695 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008874/1.133, allocations: 157.8 kB / 0.9697 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004518/1.138, allocations: 1.037 MB / 0.9707 GB, free: 35.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/1.15, allocations: 3.139 MB / 0.9738 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007613/1.157, allocations: 2.497 MB / 0.9762 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01018/1.168, allocations: 5.317 MB / 0.9814 GB, free: 30.95 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004226/1.172, allocations: 2.213 MB / 0.9836 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008504/1.181, allocations: 2.662 MB / 0.9862 GB, free: 28.05 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005294/1.186, allocations: 1.936 MB / 0.9881 GB, free: 26.89 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007493/1.187, allocations: 212.6 kB / 0.9883 GB, free: 26.89 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/1.19, allocations: 1.084 MB / 0.9893 GB, free: 26.38 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005309/1.191, allocations: 0.5549 MB / 0.9899 GB, free: 25.92 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002376/1.193, allocations: 1.252 MB / 0.9911 GB, free: 25.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004324/1.198, allocations: 3.279 MB / 0.9943 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.198, allocations: 0 / 0.9943 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/1.198, allocations: 0 / 0.9943 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.736e-05/1.198, allocations: 0 / 0.9943 GB, free: 22.75 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.004748/1.202, allocations: 2.751 MB / 0.997 GB, free: 20.76 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.202, allocations: 9 kB / 0.997 GB, free: 20.76 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/1.203, allocations: 259 kB / 0.9972 GB, free: 20.63 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/1.205, allocations: 1.501 MB / 0.9987 GB, free: 19.46 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.718e-05/1.205, allocations: 102.6 kB / 0.9988 GB, free: 19.42 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/1.205, allocations: 139.3 kB / 0.9989 GB, free: 19.38 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/1.207, allocations: 1.16 MB / 1 GB, free: 18.67 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.207, allocations: 0 / 1 GB, free: 18.67 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-05/1.207, allocations: 44.09 kB / 1 GB, free: 18.64 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/1.207, allocations: 34.62 kB / 1 GB, free: 18.63 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/1.209, allocations: 1.016 MB / 1.001 GB, free: 18.11 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.009007/1.218, allocations: 6.299 MB / 1.007 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008548/1.219, allocations: 0.5666 MB / 1.008 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/1.219, allocations: 387.9 kB / 1.008 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/1.22, allocations: 0.5077 MB / 1.009 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/1.22, allocations: 42.06 kB / 1.009 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001505/1.221, allocations: 236 kB / 1.009 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 4.178e-06/1.221, allocations: 0 / 1.009 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.001956/1.223, allocations: 1.155 MB / 1.01 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/1.223, allocations: 65.61 kB / 1.01 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/1.225, allocations: 1.845 MB / 1.012 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.263e-05/1.226, allocations: 49.7 kB / 1.012 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005092/1.226, allocations: 0.9116 MB / 1.013 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/1.226, allocations: 205 kB / 1.013 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004238/1.227, allocations: 294.6 kB / 1.013 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/1.227, allocations: 349.9 kB / 1.014 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/1.227, allocations: 453.9 kB / 1.014 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008372/1.228, allocations: 0.704 MB / 1.015 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/1.229, allocations: 0.9774 MB / 1.016 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.229, allocations: 4 kB / 1.016 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002146/1.232, allocations: 1.42 MB / 1.017 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/1.232, allocations: 4 kB / 1.017 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.232, allocations: 4.375 kB / 1.017 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.232, allocations: 12 kB / 1.017 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.233, allocations: 291.5 kB / 1.017 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/1.233, allocations: 11.94 kB / 1.017 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/1.234, allocations: 84.83 kB / 1.018 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/1.234, allocations: 63.95 kB / 1.018 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001073/1.235, allocations: 0.7134 MB / 1.018 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007787/1.236, allocations: 0.6684 MB / 1.019 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001198/1.237, allocations: 0.9344 MB / 1.02 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.799e-06/1.237, allocations: 4 kB / 1.02 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002127/1.24, allocations: 1.373 MB / 1.021 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.24, allocations: 7.984 kB / 1.021 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.24, allocations: 4 kB / 1.021 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.24, allocations: 11.94 kB / 1.021 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/1.241, allocations: 291.9 kB / 1.022 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/1.241, allocations: 19.91 kB / 1.022 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/1.243, allocations: 99.64 kB / 1.022 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.243, allocations: 63.95 kB / 1.022 GB, free: 15.22 MB / 0.7325 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.0004474/1.243, allocations: 239.3 kB / 1.022 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/1.243, allocations: 193.5 kB / 1.022 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/1.246, allocations: 1.082 MB / 1.023 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/1.246, allocations: 15.94 kB / 1.023 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.246, allocations: 7.938 kB / 1.023 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.246, allocations: 3.984 kB / 1.023 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/1.25, allocations: 2.419 MB / 1.026 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/1.25, allocations: 0 / 1.026 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/1.25, allocations: 139.8 kB / 1.026 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/1.25, allocations: 4.094 kB / 1.026 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/1.25, allocations: 19.98 kB / 1.026 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/1.25, allocations: 8.125 kB / 1.026 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.25, allocations: 8 kB / 1.026 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/1.252, allocations: 1.066 MB / 1.027 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005656/1.252, allocations: 350.3 kB / 1.027 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/1.253, allocations: 16 kB / 1.027 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/1.253, allocations: 39.89 kB / 1.027 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.253, allocations: 52.59 kB / 1.027 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/1.253, allocations: 23.98 kB / 1.027 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001718/1.255, allocations: 1.219 MB / 1.028 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.255, allocations: 0 / 1.028 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002505/1.258, allocations: 0.8927 MB / 1.029 GB, free: 7.281 MB / 0.7325 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.0008697/1.259, allocations: 347.9 kB / 1.03 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003172/1.262, allocations: 1.661 MB / 1.031 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.262, allocations: 0 / 1.031 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006227/1.262, allocations: 411.5 kB / 1.032 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004761/1.267, allocations: 1.103 MB / 1.033 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/1.272, allocations: 2.939 MB / 1.036 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009624/1.273, allocations: 1.392 MB / 1.037 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001863/1.275, allocations: 412.8 kB / 1.037 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/1.275, allocations: 163.4 kB / 1.037 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of SimCode: time 1.123e-06/1.275, allocations: 0 / 1.037 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of Templates: time 0.06747/1.343, allocations: 38.73 MB / 1.075 GB, free: 8.723 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)