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.001425/0.001425, allocations: 108 kB / 15.6 MB, free: 132 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.001725/0.001725, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.648/1.648, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.714/1.714, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001596/0.001596, allocations: 67.69 kB / 0.6715 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3145, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.816/1.131, allocations: 155.1 MB / 0.9349 GB, free: 41.14 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05314/1.184, allocations: 34.75 MB / 0.9688 GB, free: 36.14 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009506/1.193, allocations: 156.2 kB / 0.9689 GB, free: 36.14 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004166/1.198, allocations: 1.04 MB / 0.97 GB, free: 35.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01208/1.21, allocations: 3.137 MB / 0.973 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008193/1.218, allocations: 2.457 MB / 0.9754 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01056/1.228, allocations: 5.291 MB / 0.9806 GB, free: 30.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004742/1.233, allocations: 2.221 MB / 0.9828 GB, free: 29.54 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006406/1.24, allocations: 2.641 MB / 0.9853 GB, free: 28.12 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003756/1.243, allocations: 1.942 MB / 0.9872 GB, free: 27.12 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009774/1.244, allocations: 212.3 kB / 0.9874 GB, free: 27.12 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/1.248, allocations: 1.085 MB / 0.9885 GB, free: 26.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008843/1.249, allocations: 0.5498 MB / 0.989 GB, free: 26.2 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002321/1.251, allocations: 1.255 MB / 0.9903 GB, free: 25.37 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004629/1.256, allocations: 3.243 MB / 0.9934 GB, free: 23.2 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.256, allocations: 4 kB / 0.9934 GB, free: 23.19 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/1.256, allocations: 0 / 0.9934 GB, free: 23.19 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000119/1.256, allocations: 0 / 0.9934 GB, free: 23.19 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.00609/1.262, allocations: 2.746 MB / 0.9961 GB, free: 21.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.262, allocations: 10.91 kB / 0.9961 GB, free: 21.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006565/1.263, allocations: 257.1 kB / 0.9964 GB, free: 21.1 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/1.265, allocations: 1.428 MB / 0.9978 GB, free: 20.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.569e-05/1.265, allocations: 105 kB / 0.9979 GB, free: 19.97 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/1.265, allocations: 137.8 kB / 0.998 GB, free: 19.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/1.267, allocations: 1.161 MB / 0.9991 GB, free: 19.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/1.267, allocations: 4 kB / 0.9991 GB, free: 19.22 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.268, allocations: 52.19 kB / 0.9992 GB, free: 19.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/1.268, allocations: 27.81 kB / 0.9992 GB, free: 19.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/1.269, allocations: 1.009 MB / 1 GB, free: 18.67 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.01074/1.28, allocations: 6.352 MB / 1.006 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/1.281, allocations: 0.5743 MB / 1.007 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005959/1.282, allocations: 385 kB / 1.007 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004026/1.282, allocations: 0.5025 MB / 1.008 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/1.282, allocations: 37.72 kB / 1.008 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001964/1.284, allocations: 240.7 kB / 1.008 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 4.779e-06/1.284, allocations: 0 / 1.008 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.002196/1.287, allocations: 1.155 MB / 1.009 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/1.287, allocations: 65.81 kB / 1.009 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002472/1.289, allocations: 1.845 MB / 1.011 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/1.289, allocations: 49.7 kB / 1.011 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005822/1.29, allocations: 0.9115 MB / 1.012 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/1.29, allocations: 200 kB / 1.012 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/1.29, allocations: 294.6 kB / 1.012 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/1.29, allocations: 353.9 kB / 1.013 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/1.291, allocations: 457.9 kB / 1.013 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008447/1.292, allocations: 0.6949 MB / 1.014 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/1.293, allocations: 0.9852 MB / 1.015 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.293, allocations: 0 / 1.015 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002581/1.296, allocations: 1.428 MB / 1.016 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.296, allocations: 8 kB / 1.016 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.296, allocations: 0 / 1.016 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/1.296, allocations: 12 kB / 1.016 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.297, allocations: 287.9 kB / 1.017 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/1.297, allocations: 15.94 kB / 1.017 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/1.299, allocations: 83.86 kB / 1.017 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/1.299, allocations: 63.89 kB / 1.017 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001679/1.301, allocations: 0.7212 MB / 1.017 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008434/1.302, allocations: 0.6684 MB / 1.018 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001185/1.303, allocations: 0.9266 MB / 1.019 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.046e-06/1.303, allocations: 4 kB / 1.019 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002245/1.305, allocations: 1.381 MB / 1.02 GB, free: 120 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.305, allocations: 4 kB / 1.02 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.305, allocations: 4 kB / 1.02 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/1.305, allocations: 15.97 kB / 1.02 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/1.307, allocations: 279.6 kB / 1.021 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/1.307, allocations: 15.97 kB / 1.021 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.308, allocations: 99.72 kB / 1.021 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.309, allocations: 67.94 kB / 1.021 GB, free: 15.64 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.0003523/1.309, allocations: 239.3 kB / 1.021 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/1.309, allocations: 197.5 kB / 1.021 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/1.312, allocations: 1.095 MB / 1.022 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/1.312, allocations: 4 kB / 1.022 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.312, allocations: 7.938 kB / 1.022 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.312, allocations: 3.984 kB / 1.022 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003915/1.316, allocations: 2.428 MB / 1.025 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.316, allocations: 0 / 1.025 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/1.316, allocations: 135.8 kB / 1.025 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/1.316, allocations: 8.188 kB / 1.025 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/1.316, allocations: 16 kB / 1.025 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.316, allocations: 4 kB / 1.025 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.316, allocations: 4 kB / 1.025 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/1.318, allocations: 1.07 MB / 1.026 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006221/1.319, allocations: 346.4 kB / 1.026 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/1.319, allocations: 12 kB / 1.026 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007845/1.32, allocations: 39.95 kB / 1.026 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/1.32, allocations: 48.59 kB / 1.026 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/1.32, allocations: 23.98 kB / 1.026 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001696/1.321, allocations: 1.219 MB / 1.028 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/1.321, allocations: 0 / 1.028 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002427/1.324, allocations: 0.9004 MB / 1.028 GB, free: 7.719 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.0007957/1.325, allocations: 340.9 kB / 1.029 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003457/1.328, allocations: 1.704 MB / 1.03 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.328, allocations: 0 / 1.03 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006757/1.329, allocations: 415.5 kB / 1.031 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005198/1.334, allocations: 1.103 MB / 1.032 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004953/1.339, allocations: 3.005 MB / 1.035 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.34, allocations: 1.396 MB / 1.036 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002196/1.342, allocations: 410.4 kB / 1.037 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/1.343, allocations: 163.4 kB / 1.037 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of SimCode: time 1.503e-06/1.343, allocations: 0 / 1.037 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.0721/1.415, allocations: 38.78 MB / 1.075 GB, free: 9.059 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)