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.0009469/0.0009469, allocations: 80.81 kB / 21.55 MB, free: 2.941 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.0009131/0.0009131, allocations: 168.8 kB / 24.97 MB, free: 9.18 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 0.9497/0.9497, allocations: 177.1 MB / 205.4 MB, free: 5.492 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 2.068/2.068, allocations: 389.6 MB / 0.6362 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] 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.473e-06/1.473e-06, allocations: 0 / 0.776 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.274e-05, allocations: 3.219 kB / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.009668/0.009691, allocations: 10.49 MB / 0.7862 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006521/0.01621, allocations: 4.268 MB / 0.7904 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009704/0.01718, allocations: 47.56 kB / 0.7904 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.0178, allocations: 233.9 kB / 0.7907 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.01958, allocations: 0.8757 MB / 0.7915 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.02164, allocations: 1.144 MB / 0.7926 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.003133/0.02477, allocations: 3.395 MB / 0.796 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.02595, allocations: 1.203 MB / 0.7971 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.02797, allocations: 2.031 MB / 0.7991 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.03032, allocations: 1.758 MB / 0.8008 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.03056, allocations: 92 kB / 0.8009 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.03173, allocations: 0.7057 MB / 0.8016 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.03197, allocations: 302.8 kB / 0.8019 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004426/0.03241, allocations: 454.9 kB / 0.8023 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.03393, allocations: 1.452 MB / 0.8037 GB, free: 9.02 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.03393, allocations: 0 / 0.8037 GB, free: 9.02 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.172e-06/0.03393, allocations: 2.344 kB / 0.8037 GB, free: 9.02 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.03395, allocations: 0 / 0.8037 GB, free: 9.02 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.001533/0.03548, allocations: 1.428 MB / 0.8051 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.03552, allocations: 13.34 kB / 0.8052 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005271/0.03605, allocations: 201.7 kB / 0.8053 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000736/0.03679, allocations: 0.584 MB / 0.8059 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.03683, allocations: 69.31 kB / 0.806 GB, free: 6.68 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.03694, allocations: 92 kB / 0.8061 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.03747, allocations: 0.5218 MB / 0.8066 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.03748, allocations: 0 / 0.8066 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.03753, allocations: 31.98 kB / 0.8066 GB, free: 6.004 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.03754, allocations: 12 kB / 0.8066 GB, free: 5.992 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005424/0.03808, allocations: 235.8 kB / 0.8068 GB, free: 5.758 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.04037, allocations: 1.771 MB / 0.8086 GB, free: 3.938 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.0407, allocations: 228.1 kB / 0.8088 GB, free: 3.703 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.582e-05/0.0408, allocations: 76.23 kB / 0.8089 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-05/0.0409, allocations: 28.27 kB / 0.8089 GB, free: 3.598 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.04092, allocations: 38.84 kB / 0.8089 GB, free: 3.551 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/0.04092, allocations: 0 / 0.8089 GB, free: 3.551 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.0004337/0.04136, allocations: 303.6 kB / 0.8092 GB, free: 3.25 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.04139, allocations: 63.33 kB / 0.8093 GB, free: 3.176 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004418/0.04183, allocations: 0.6677 MB / 0.8099 GB, free: 2.484 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.166e-05/0.0419, allocations: 45.7 kB / 0.81 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.04211, allocations: 371.4 kB / 0.8103 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.301e-05/0.04217, allocations: 122.9 kB / 0.8104 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.04239, allocations: 202.6 kB / 0.8106 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.04249, allocations: 333.9 kB / 0.811 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.04262, allocations: 95.28 kB / 0.811 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009995/0.04362, allocations: 2.1 MB / 0.8131 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005717/0.04419, allocations: 304.9 kB / 0.8134 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.04419, allocations: 3.938 kB / 0.8134 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004555/0.04465, allocations: 398.7 kB / 0.8138 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.04467, allocations: 4 kB / 0.8138 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.04467, allocations: 4 kB / 0.8138 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.04469, allocations: 4 kB / 0.8138 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/0.04539, allocations: 227.9 kB / 0.814 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.04645, allocations: 2.914 MB / 0.8169 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.04753, allocations: 372 kB / 0.8172 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.04757, allocations: 19.98 kB / 0.8172 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002641/0.04784, allocations: 187.1 kB / 0.8174 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008557/0.04869, allocations: 2.119 MB / 0.8195 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002975/0.04899, allocations: 333 kB / 0.8198 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/0.04899, allocations: 3.984 kB / 0.8198 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0007464/0.04974, allocations: 422.7 kB / 0.8202 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.04975, allocations: 8 kB / 0.8202 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.04975, allocations: 0 / 0.8202 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.04976, allocations: 8 kB / 0.8202 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.05025, allocations: 200.6 kB / 0.8204 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.05026, allocations: 16.12 kB / 0.8204 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.05161, allocations: 480.4 kB / 0.8209 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.05164, allocations: 19.98 kB / 0.8209 GB, free: 5.844 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.0001575/0.0518, allocations: 224.6 kB / 0.8211 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.05187, allocations: 51.94 kB / 0.8212 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.05231, allocations: 328.8 kB / 0.8215 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.05232, allocations: 7.922 kB / 0.8215 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.05233, allocations: 3.938 kB / 0.8215 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.05249, allocations: 95.28 kB / 0.8216 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.05255, allocations: 12 kB / 0.8216 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.05273, allocations: 19.98 kB / 0.8216 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.05279, allocations: 23.94 kB / 0.8216 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005632/0.05335, allocations: 425.8 kB / 0.822 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004529/0.0538, allocations: 0.5702 MB / 0.8226 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001164/0.05392, allocations: 114 kB / 0.8227 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002484/0.05417, allocations: 328.6 kB / 0.823 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of Backend: time 4.51e-07/0.05417, allocations: 0 / 0.823 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.05568, allocations: 0.7516 MB / 0.8237 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of SimCode: time 0.002808/0.05849, allocations: 2.347 MB / 0.826 GB, free: 452 kB / 0.7761 GB Notification: Performance of Templates: time 0.03504/0.09352, allocations: 26.14 MB / 0.8516 GB, free: 6.766 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.753557075746357]