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.002019/0.002019, allocations: 108.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002324/0.002324, allocations: 216 kB / 23.02 MB, free: 2.953 MB / 13.93 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.721/1.721, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.487/3.487, allocations: 0.5045 GB / 0.8104 GB, free: 2.762 MB / 0.6511 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.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 0.003864/0.003864, allocations: 71.89 kB / 1.177 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.011, allocations: 180 MB / 1.353 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03847/1.049, allocations: 27.43 MB / 1.38 GB, free: 6.121 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.0146/1.064, allocations: 7.387 MB / 1.387 GB, free: 14.71 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/1.065, allocations: 43.56 kB / 1.387 GB, free: 14.67 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/1.067, allocations: 421 kB / 1.387 GB, free: 14.25 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.005074/1.072, allocations: 1.439 MB / 1.389 GB, free: 12.81 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/1.076, allocations: 1.13 MB / 1.39 GB, free: 11.69 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.005806/1.082, allocations: 3.423 MB / 1.393 GB, free: 8.262 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/1.084, allocations: 1.14 MB / 1.394 GB, free: 7.102 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004247/1.089, allocations: 1.749 MB / 1.396 GB, free: 5.348 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004167/1.093, allocations: 1.655 MB / 1.398 GB, free: 3.688 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.0009822/1.094, allocations: 128 kB / 1.398 GB, free: 3.562 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/1.097, allocations: 0.8346 MB / 1.399 GB, free: 2.727 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0009887/1.098, allocations: 418.6 kB / 1.399 GB, free: 2.316 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.001849/1.1, allocations: 0.642 MB / 1.4 GB, free: 1.672 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.004887/1.104, allocations: 2.169 MB / 1.402 GB, free: 15.5 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/1.104, allocations: 0 / 1.402 GB, free: 15.5 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.524e-06/1.104, allocations: 4 kB / 1.402 GB, free: 15.49 MB / 1.089 GB Notification: Performance of Transformations before backend: time 8.711e-05/1.105, allocations: 0 / 1.402 GB, free: 15.49 MB / 1.089 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.004474/1.109, allocations: 1.594 MB / 1.403 GB, free: 13.86 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.109, allocations: 16.86 kB / 1.403 GB, free: 13.84 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/1.111, allocations: 208 kB / 1.403 GB, free: 13.64 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/1.113, allocations: 0.8506 MB / 1.404 GB, free: 12.77 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/1.113, allocations: 85.25 kB / 1.404 GB, free: 12.68 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/1.114, allocations: 116 kB / 1.404 GB, free: 12.57 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/1.115, allocations: 0.6824 MB / 1.405 GB, free: 11.86 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.115, allocations: 0 / 1.405 GB, free: 11.86 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/1.115, allocations: 24 kB / 1.405 GB, free: 11.84 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/1.115, allocations: 16 kB / 1.405 GB, free: 11.82 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/1.117, allocations: 0.5242 MB / 1.406 GB, free: 11.3 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006795/1.124, allocations: 2.434 MB / 1.408 GB, free: 8.793 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000824/1.124, allocations: 315.7 kB / 1.408 GB, free: 8.477 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/1.125, allocations: 161.3 kB / 1.409 GB, free: 8.316 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/1.125, allocations: 32.27 kB / 1.409 GB, free: 8.285 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/1.125, allocations: 46.77 kB / 1.409 GB, free: 8.23 MB / 1.089 GB Notification: Performance of pre-optimization done (n=33): time 3.496e-06/1.125, allocations: 0 / 1.409 GB, free: 8.23 MB / 1.089 GB Notification: Performance of matching and sorting (n=33): time 0.001887/1.127, allocations: 0.5844 MB / 1.409 GB, free: 7.641 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/1.127, allocations: 59.41 kB / 1.409 GB, free: 7.57 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/1.128, allocations: 0.783 MB / 1.41 GB, free: 6.762 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/1.128, allocations: 53.7 kB / 1.41 GB, free: 6.703 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005589/1.129, allocations: 499.3 kB / 1.411 GB, free: 6.211 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/1.129, allocations: 111 kB / 1.411 GB, free: 6.102 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005021/1.13, allocations: 291 kB / 1.411 GB, free: 5.809 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001857/1.13, allocations: 330 kB / 1.411 GB, free: 5.48 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/1.13, allocations: 213.4 kB / 1.411 GB, free: 5.27 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003995/1.134, allocations: 4.048 MB / 1.415 GB, free: 164 kB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/1.136, allocations: 0.4945 MB / 1.416 GB, free: 15.64 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.136, allocations: 3.938 kB / 1.416 GB, free: 15.63 MB / 1.104 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0018/1.137, allocations: 0.6843 MB / 1.417 GB, free: 14.94 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.137, allocations: 11.94 kB / 1.417 GB, free: 14.93 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.137, allocations: 0 / 1.417 GB, free: 14.93 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/1.137, allocations: 4 kB / 1.417 GB, free: 14.93 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/1.139, allocations: 231.9 kB / 1.417 GB, free: 14.7 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/1.141, allocations: 2.958 MB / 1.42 GB, free: 11.62 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003646/1.145, allocations: 0.7028 MB / 1.42 GB, free: 10.92 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.906e-05/1.145, allocations: 23.98 kB / 1.42 GB, free: 10.89 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001058/1.146, allocations: 385.3 kB / 1.421 GB, free: 10.52 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004031/1.15, allocations: 4.059 MB / 1.425 GB, free: 5.379 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001139/1.151, allocations: 0.4889 MB / 1.425 GB, free: 4.848 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.608e-06/1.151, allocations: 0 / 1.425 GB, free: 4.848 MB / 1.104 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002051/1.153, allocations: 0.6983 MB / 1.426 GB, free: 4.145 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/1.153, allocations: 8 kB / 1.426 GB, free: 4.137 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.153, allocations: 4.312 kB / 1.426 GB, free: 4.133 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/1.154, allocations: 8 kB / 1.426 GB, free: 4.125 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008697/1.154, allocations: 159.8 kB / 1.426 GB, free: 3.969 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/1.154, allocations: 4 kB / 1.426 GB, free: 3.965 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004828/1.159, allocations: 0.9653 MB / 1.427 GB, free: 3 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/1.159, allocations: 23.98 kB / 1.427 GB, free: 2.977 MB / 1.104 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.0006096/1.16, allocations: 241.6 kB / 1.427 GB, free: 2.734 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/1.16, allocations: 95.38 kB / 1.427 GB, free: 2.641 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/1.162, allocations: 0.5697 MB / 1.428 GB, free: 2.059 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/1.162, allocations: 4 kB / 1.428 GB, free: 2.055 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.162, allocations: 0 / 1.428 GB, free: 2.055 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/1.162, allocations: 3.984 kB / 1.428 GB, free: 2.051 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/1.165, allocations: 1.167 MB / 1.429 GB, free: 0.8398 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/1.165, allocations: 11.97 kB / 1.429 GB, free: 0.8281 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007017/1.166, allocations: 111.8 kB / 1.429 GB, free: 0.7188 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/1.166, allocations: 4 kB / 1.429 GB, free: 0.7148 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/1.166, allocations: 12 kB / 1.429 GB, free: 0.7031 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/1.168, allocations: 2.942 MB / 1.432 GB, free: 13.64 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/1.168, allocations: 3.938 kB / 1.432 GB, free: 13.64 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/1.169, allocations: 0.6143 MB / 1.433 GB, free: 13 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/1.17, allocations: 127.2 kB / 1.433 GB, free: 12.88 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/1.17, allocations: 8 kB / 1.433 GB, free: 12.87 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005504/1.17, allocations: 36.05 kB / 1.433 GB, free: 12.83 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.17, allocations: 35.83 kB / 1.433 GB, free: 12.8 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/1.17, allocations: 15.98 kB / 1.433 GB, free: 12.78 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0008802/1.171, allocations: 0.5148 MB / 1.433 GB, free: 12.25 MB / 1.12 GB Notification: Performance of sort global known variables: time 8e-08/1.171, allocations: 0 / 1.433 GB, free: 12.25 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.001991/1.173, allocations: 0.5534 MB / 1.434 GB, free: 11.7 MB / 1.12 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.0008632/1.174, allocations: 305.5 kB / 1.434 GB, free: 11.39 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.003211/1.177, allocations: 0.8697 MB / 1.435 GB, free: 10.52 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.177, allocations: 4.188 kB / 1.435 GB, free: 10.52 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0007215/1.178, allocations: 252.5 kB / 1.435 GB, free: 10.27 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/1.18, allocations: 309.6 kB / 1.436 GB, free: 9.973 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/1.183, allocations: 1.523 MB / 1.437 GB, free: 8.41 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/1.183, allocations: 433.1 kB / 1.437 GB, free: 7.949 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.001122/1.185, allocations: 201.8 kB / 1.438 GB, free: 7.75 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/1.185, allocations: 75.41 kB / 1.438 GB, free: 7.68 MB / 1.12 GB Notification: Performance of SimCode: time 9.72e-07/1.185, allocations: 3.938 kB / 1.438 GB, free: 7.676 MB / 1.12 GB Notification: Performance of Templates: time 0.04986/1.235, allocations: 27.18 MB / 1.464 GB, free: 13.17 MB / 1.151 GB " [Timeout remaining time 299] 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: 11.635423307307065]