Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 80.55 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 173.2 kB / 23.23 MB, free: 1.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.71/1.71, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.31/3.31, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.865e-05/4.039e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03938/0.03942, allocations: 28.2 MB / 1.029 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01779/0.05721, allocations: 9.919 MB / 1.038 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.05872, allocations: 35.62 kB / 1.038 GB, free: 6.703 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.0605, allocations: 401.1 kB / 1.039 GB, free: 6.309 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005097/0.0656, allocations: 1.223 MB / 1.04 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.06927, allocations: 0.9162 MB / 1.041 GB, free: 4.168 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004381/0.07365, allocations: 1.987 MB / 1.043 GB, free: 2.176 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.07495, allocations: 0.5121 MB / 1.043 GB, free: 1.648 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.07859, allocations: 1.292 MB / 1.045 GB, free: 360 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7855/0.8641, allocations: 0.5611 MB / 1.045 GB, free: 46.54 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002811/0.8644, allocations: 58.25 kB / 1.045 GB, free: 46.54 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.8659, allocations: 0.5031 MB / 1.046 GB, free: 46.54 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.8661, allocations: 168.9 kB / 1.046 GB, free: 46.54 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004117/0.8665, allocations: 295.1 kB / 1.046 GB, free: 46.54 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.868, allocations: 1.086 MB / 1.047 GB, free: 46.54 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.868, allocations: 3 kB / 1.047 GB, free: 46.54 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.304e-06/0.868, allocations: 0 / 1.047 GB, free: 46.54 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.868, allocations: 0 / 1.047 GB, free: 46.54 MB / 0.9948 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.001633/0.8696, allocations: 1.074 MB / 1.048 GB, free: 45.93 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.8697, allocations: 10.16 kB / 1.048 GB, free: 45.93 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.8698, allocations: 100.7 kB / 1.048 GB, free: 45.88 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/0.8706, allocations: 0.5144 MB / 1.049 GB, free: 45.64 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.8706, allocations: 40.41 kB / 1.049 GB, free: 45.64 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-05/0.8707, allocations: 55.06 kB / 1.049 GB, free: 45.64 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.8714, allocations: 412.9 kB / 1.049 GB, free: 45.61 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.8714, allocations: 1.344 kB / 1.049 GB, free: 45.61 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.8715, allocations: 19.62 kB / 1.049 GB, free: 45.61 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.8715, allocations: 8.656 kB / 1.049 GB, free: 45.61 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/0.8721, allocations: 309 kB / 1.05 GB, free: 45.61 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.8744, allocations: 1.189 MB / 1.051 GB, free: 45.32 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.8747, allocations: 156.6 kB / 1.051 GB, free: 45.29 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.8748, allocations: 76.08 kB / 1.051 GB, free: 45.29 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.875, allocations: 37.78 kB / 1.051 GB, free: 45.29 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.875, allocations: 33.47 kB / 1.051 GB, free: 45.25 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 1.522e-06/0.875, allocations: 0 / 1.051 GB, free: 45.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0006487/0.8757, allocations: 301.7 kB / 1.051 GB, free: 45.17 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.8757, allocations: 57.42 kB / 1.051 GB, free: 45.11 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/0.8762, allocations: 0.5855 MB / 1.052 GB, free: 44.97 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.8762, allocations: 32.45 kB / 1.052 GB, free: 44.94 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.8765, allocations: 365.2 kB / 1.052 GB, free: 44.77 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.8765, allocations: 64.83 kB / 1.052 GB, free: 44.72 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.8766, allocations: 95.38 kB / 1.053 GB, free: 44.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8767, allocations: 363.6 kB / 1.053 GB, free: 44.39 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.877, allocations: 117.1 kB / 1.053 GB, free: 44.38 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.8773, allocations: 383.8 kB / 1.053 GB, free: 44.07 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.8778, allocations: 240.7 kB / 1.054 GB, free: 44.05 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8778, allocations: 0.7188 kB / 1.054 GB, free: 44.05 MB / 0.9948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006927/0.8785, allocations: 390.2 kB / 1.054 GB, free: 43.97 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.8785, allocations: 7.781 kB / 1.054 GB, free: 43.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.8785, allocations: 0 / 1.054 GB, free: 43.97 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.8785, allocations: 6.875 kB / 1.054 GB, free: 43.97 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009633/0.8795, allocations: 156 kB / 1.054 GB, free: 43.97 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008219/0.8803, allocations: 2.362 MB / 1.056 GB, free: 41.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.8807, allocations: 53.22 kB / 1.056 GB, free: 41.61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.8807, allocations: 14.22 kB / 1.056 GB, free: 41.61 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003514/0.8811, allocations: 256 kB / 1.057 GB, free: 41.52 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00028/0.8813, allocations: 382.2 kB / 1.057 GB, free: 41.21 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003688/0.8817, allocations: 224.4 kB / 1.057 GB, free: 41.18 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.8817, allocations: 3.938 kB / 1.057 GB, free: 41.17 MB / 0.9948 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006358/0.8823, allocations: 376.7 kB / 1.058 GB, free: 41.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.8824, allocations: 10.69 kB / 1.058 GB, free: 41.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.8824, allocations: 5.922 kB / 1.058 GB, free: 41.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/0.8824, allocations: 2.594 kB / 1.058 GB, free: 41.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.8828, allocations: 97.36 kB / 1.058 GB, free: 41.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8828, allocations: 4.859 kB / 1.058 GB, free: 41.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.8831, allocations: 42.08 kB / 1.058 GB, free: 41.09 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.8831, allocations: 16.83 kB / 1.058 GB, free: 41.09 MB / 0.9948 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.0001189/0.8833, allocations: 205.8 kB / 1.058 GB, free: 40.9 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.8833, allocations: 60.95 kB / 1.058 GB, free: 40.87 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.884, allocations: 294.4 kB / 1.058 GB, free: 40.82 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.884, allocations: 2.781 kB / 1.058 GB, free: 40.82 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.884, allocations: 0 / 1.058 GB, free: 40.82 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.884, allocations: 4 kB / 1.058 GB, free: 40.82 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.8851, allocations: 0.7653 MB / 1.059 GB, free: 40.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.8851, allocations: 0 / 1.059 GB, free: 40.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.8854, allocations: 77.94 kB / 1.059 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.8854, allocations: 2.938 kB / 1.059 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.8854, allocations: 9.125 kB / 1.059 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007081/0.8861, allocations: 2.36 MB / 1.062 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8861, allocations: 0 / 1.062 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.8866, allocations: 382.6 kB / 1.062 GB, free: 38 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.8868, allocations: 84.7 kB / 1.062 GB, free: 37.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.806e-05/0.8868, allocations: 3.938 kB / 1.062 GB, free: 37.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.8871, allocations: 24.14 kB / 1.062 GB, free: 37.96 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.8872, allocations: 24.38 kB / 1.062 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.8872, allocations: 11.62 kB / 1.062 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004467/0.8876, allocations: 398.9 kB / 1.062 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.8876, allocations: 0 / 1.062 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000917/0.8885, allocations: 368.4 kB / 1.063 GB, free: 37.79 MB / 0.9948 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.0003813/0.8889, allocations: 235.5 kB / 1.063 GB, free: 37.68 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.8904, allocations: 477.6 kB / 1.063 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8904, allocations: 2.781 kB / 1.063 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.8907, allocations: 135.8 kB / 1.064 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.8918, allocations: 224.3 kB / 1.064 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.8934, allocations: 1.083 MB / 1.065 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.8937, allocations: 325.5 kB / 1.065 GB, free: 37.01 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003032/0.894, allocations: 101 kB / 1.065 GB, free: 36.99 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.644e-05/0.8941, allocations: 43.59 kB / 1.065 GB, free: 36.99 MB / 0.9948 GB Notification: Performance of SimCode: time 6.11e-07/0.8941, allocations: 0 / 1.065 GB, free: 36.99 MB / 0.9948 GB Notification: Performance of Templates: time 0.01882/0.9129, allocations: 10.96 MB / 1.076 GB, free: 35.68 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.790515373460948]