Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.000994/0.000994, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009877/0.0009877, allocations: 161 kB / 24.16 MB, free: 332 kB / 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 0.9683/0.9683, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 1.859/1.859, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] 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.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.7751 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.96e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.008664/0.008683, allocations: 10.45 MB / 0.7854 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005952/0.01464, allocations: 4.27 MB / 0.7895 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007412/0.01538, allocations: 44.97 kB / 0.7896 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.01592, allocations: 237.9 kB / 0.7898 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.01753, allocations: 0.8998 MB / 0.7907 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.01945, allocations: 1.151 MB / 0.7918 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.003036/0.02249, allocations: 3.39 MB / 0.7951 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.02388, allocations: 1.23 MB / 0.7963 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/0.02618, allocations: 2.062 MB / 0.7983 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.02801, allocations: 1.751 MB / 0.8 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.0282, allocations: 92.5 kB / 0.8001 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000936/0.02914, allocations: 0.672 MB / 0.8008 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.02936, allocations: 306.8 kB / 0.8011 GB, free: 11 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003921/0.02975, allocations: 462.9 kB / 0.8015 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.0313, allocations: 1.445 MB / 0.8029 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.03131, allocations: 0.7188 kB / 0.8029 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.173e-06/0.03131, allocations: 0 / 0.8029 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.03132, allocations: 0.6562 kB / 0.8029 GB, free: 9.098 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001342/0.03266, allocations: 1.431 MB / 0.8043 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.0327, allocations: 13.34 kB / 0.8043 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.03316, allocations: 200.7 kB / 0.8045 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.03381, allocations: 0.5831 MB / 0.8051 GB, free: 6.832 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.03386, allocations: 70.5 kB / 0.8052 GB, free: 6.762 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.03396, allocations: 96 kB / 0.8053 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.03444, allocations: 0.514 MB / 0.8058 GB, free: 6.121 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.03446, allocations: 7.938 kB / 0.8058 GB, free: 6.113 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.03449, allocations: 24 kB / 0.8058 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.0345, allocations: 15.98 kB / 0.8058 GB, free: 6.074 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.03476, allocations: 235.9 kB / 0.806 GB, free: 5.84 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.03696, allocations: 1.771 MB / 0.8078 GB, free: 4.02 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.0372, allocations: 225.4 kB / 0.808 GB, free: 3.789 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/0.03728, allocations: 80.23 kB / 0.808 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.005e-05/0.03737, allocations: 24.27 kB / 0.8081 GB, free: 3.684 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.0374, allocations: 50.77 kB / 0.8081 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/0.0374, allocations: 0 / 0.8081 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.0004154/0.03781, allocations: 299.7 kB / 0.8084 GB, free: 3.328 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.03785, allocations: 63.33 kB / 0.8085 GB, free: 3.254 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/0.03844, allocations: 0.6677 MB / 0.8091 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/0.03851, allocations: 41.7 kB / 0.8092 GB, free: 2.516 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.03875, allocations: 375.3 kB / 0.8095 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.03881, allocations: 118.9 kB / 0.8096 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.03901, allocations: 206.6 kB / 0.8098 GB, free: 1.816 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.03908, allocations: 329.9 kB / 0.8101 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.0392, allocations: 99.28 kB / 0.8102 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008066/0.04001, allocations: 2.097 MB / 0.8123 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.0403, allocations: 304.8 kB / 0.8126 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.0403, allocations: 4 kB / 0.8126 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004296/0.04073, allocations: 394.8 kB / 0.813 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.04075, allocations: 10.97 kB / 0.813 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.04076, allocations: 4 kB / 0.813 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.04077, allocations: 4 kB / 0.813 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.04142, allocations: 223.7 kB / 0.8132 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.04265, allocations: 2.926 MB / 0.816 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009841/0.04363, allocations: 364.1 kB / 0.8164 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.04367, allocations: 19.98 kB / 0.8164 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002404/0.04391, allocations: 191.1 kB / 0.8166 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007796/0.04469, allocations: 2.112 MB / 0.8187 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002681/0.04496, allocations: 333 kB / 0.819 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.704e-06/0.04496, allocations: 0 / 0.819 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0004469/0.04541, allocations: 414.9 kB / 0.8194 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.04542, allocations: 8 kB / 0.8194 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.04542, allocations: 0 / 0.8194 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.04543, allocations: 8 kB / 0.8194 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.04577, allocations: 147.8 kB / 0.8195 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.04578, allocations: 15.92 kB / 0.8195 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.04707, allocations: 480.4 kB / 0.82 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.0471, allocations: 23.98 kB / 0.82 GB, free: 5.988 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.04725, allocations: 224.6 kB / 0.8202 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.04732, allocations: 55.94 kB / 0.8203 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/0.04777, allocations: 351.2 kB / 0.8206 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.04777, allocations: 4 kB / 0.8206 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.04778, allocations: 0 / 0.8206 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.04778, allocations: 15.86 kB / 0.8206 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009451/0.04873, allocations: 0.8108 MB / 0.8214 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.04873, allocations: 0 / 0.8214 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.049, allocations: 115.9 kB / 0.8215 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.04901, allocations: 0 / 0.8215 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.04903, allocations: 15.92 kB / 0.8216 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009587/0.04998, allocations: 2.903 MB / 0.8244 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.04999, allocations: 12.05 kB / 0.8244 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.0503, allocations: 435 kB / 0.8248 GB, free: 0.8672 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.05045, allocations: 103.3 kB / 0.8249 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.05051, allocations: 8 kB / 0.8249 GB, free: 0.7578 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.05069, allocations: 19.92 kB / 0.8249 GB, free: 0.7383 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.05074, allocations: 31.81 kB / 0.825 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.05076, allocations: 11.98 kB / 0.825 GB, free: 0.6953 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002192/0.05098, allocations: 328.6 kB / 0.8253 GB, free: 368 kB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.05098, allocations: 0 / 0.8253 GB, free: 368 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000804/0.05178, allocations: 0.5029 MB / 0.8258 GB, free: 15.85 MB / 0.7917 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003085/0.05209, allocations: 195.9 kB / 0.826 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009937/0.05308, allocations: 0.5984 MB / 0.8266 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.05309, allocations: 11.94 kB / 0.8266 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.05333, allocations: 169.3 kB / 0.8267 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007706/0.0541, allocations: 310.3 kB / 0.827 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.05583, allocations: 1.46 MB / 0.8285 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.05593, allocations: 175.6 kB / 0.8286 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004422/0.05637, allocations: 158 kB / 0.8288 GB, free: 12.72 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008507/0.05723, allocations: 342.9 kB / 0.8291 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of SimCode: time 1.723e-06/0.05723, allocations: 0 / 0.8291 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of Templates: time 0.02556/0.08279, allocations: 22.8 MB / 0.8514 GB, free: 6.074 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.69014599500224]