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.0009334/0.0009334, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0008963/0.0008963, allocations: 169.8 kB / 25.18 MB, free: 9.113 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.8858/0.8858, allocations: 177.1 MB / 205.6 MB, free: 4.359 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.91/1.91, allocations: 389.6 MB / 0.6364 GB, free: 13.28 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.513e-06/1.513e-06, allocations: 0 / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.531e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01223/0.01225, allocations: 10.47 MB / 0.7858 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007544/0.0198, allocations: 4.255 MB / 0.7899 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006771/0.02048, allocations: 47.5 kB / 0.79 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0006026/0.02108, allocations: 238 kB / 0.7902 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.02299, allocations: 0.8658 MB / 0.7911 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.02569, allocations: 1.13 MB / 0.7922 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003754/0.02944, allocations: 3.407 MB / 0.7955 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.03118, allocations: 1.198 MB / 0.7967 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.03397, allocations: 2.031 MB / 0.7986 GB, free: 6.816 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003049/0.03702, allocations: 1.747 MB / 0.8004 GB, free: 5.066 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004436/0.03747, allocations: 92 kB / 0.8004 GB, free: 4.977 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.03889, allocations: 0.7057 MB / 0.8011 GB, free: 4.27 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.03918, allocations: 306.8 kB / 0.8014 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.000611/0.0398, allocations: 458.9 kB / 0.8019 GB, free: 3.52 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.04202, allocations: 1.448 MB / 0.8033 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.04202, allocations: 0 / 0.8033 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.202e-06/0.04202, allocations: 0 / 0.8033 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.174e-05/0.04205, allocations: 0 / 0.8033 GB, free: 2.066 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.002167/0.04422, allocations: 1.425 MB / 0.8047 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.04425, allocations: 12.03 kB / 0.8047 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007162/0.04497, allocations: 200.7 kB / 0.8049 GB, free: 408 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3505/0.3955, allocations: 0.5847 MB / 0.8054 GB, free: 27.44 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.3955, allocations: 66.53 kB / 0.8055 GB, free: 27.44 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.3957, allocations: 95.72 kB / 0.8056 GB, free: 27.44 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.3963, allocations: 0.5183 MB / 0.8061 GB, free: 27.32 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3963, allocations: 3.906 kB / 0.8061 GB, free: 27.32 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.3963, allocations: 29.36 kB / 0.8061 GB, free: 27.31 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3963, allocations: 12.75 kB / 0.8061 GB, free: 27.31 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.3966, allocations: 239.7 kB / 0.8064 GB, free: 27.3 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/0.3989, allocations: 1.765 MB / 0.8081 GB, free: 26.62 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.3992, allocations: 225.3 kB / 0.8083 GB, free: 26.54 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.067e-05/0.3993, allocations: 86.73 kB / 0.8084 GB, free: 26.53 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.515e-05/0.3993, allocations: 27.98 kB / 0.8084 GB, free: 26.53 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.3994, allocations: 36.3 kB / 0.8085 GB, free: 26.49 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.3994, allocations: 0 / 0.8085 GB, free: 26.49 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.0004322/0.3998, allocations: 302.6 kB / 0.8087 GB, free: 26.45 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.3998, allocations: 57.97 kB / 0.8088 GB, free: 26.39 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.4003, allocations: 0.6698 MB / 0.8095 GB, free: 26.25 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.4003, allocations: 46.92 kB / 0.8095 GB, free: 26.21 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.4005, allocations: 372.6 kB / 0.8099 GB, free: 26.05 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.4006, allocations: 122.3 kB / 0.81 GB, free: 25.99 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.4008, allocations: 208.9 kB / 0.8102 GB, free: 25.97 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 4.289e-05/0.4008, allocations: 330.5 kB / 0.8105 GB, free: 25.66 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.401, allocations: 96.89 kB / 0.8106 GB, free: 25.65 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.4015, allocations: 2.09 MB / 0.8126 GB, free: 23.22 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.4018, allocations: 315 kB / 0.8129 GB, free: 23.14 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4018, allocations: 3.938 kB / 0.8129 GB, free: 23.13 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004922/0.4023, allocations: 394.2 kB / 0.8133 GB, free: 23.09 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4024, allocations: 6.984 kB / 0.8133 GB, free: 23.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4024, allocations: 2.953 kB / 0.8133 GB, free: 23.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4024, allocations: 5.5 kB / 0.8133 GB, free: 23.09 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006976/0.4031, allocations: 232.7 kB / 0.8135 GB, free: 23.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004952/0.4036, allocations: 2.921 MB / 0.8164 GB, free: 20.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.4046, allocations: 358.1 kB / 0.8167 GB, free: 20.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.4046, allocations: 21 kB / 0.8167 GB, free: 20.14 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000233/0.4049, allocations: 196.2 kB / 0.8169 GB, free: 20.05 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000513/0.4054, allocations: 2.112 MB / 0.819 GB, free: 17.59 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002989/0.4057, allocations: 332.2 kB / 0.8193 GB, free: 17.47 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.4057, allocations: 0 / 0.8193 GB, free: 17.47 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0005267/0.4062, allocations: 415.6 kB / 0.8197 GB, free: 17.42 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.4062, allocations: 7.938 kB / 0.8197 GB, free: 17.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4062, allocations: 4.938 kB / 0.8197 GB, free: 17.42 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.4062, allocations: 5.438 kB / 0.8197 GB, free: 17.42 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.4067, allocations: 205.3 kB / 0.8199 GB, free: 17.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.4067, allocations: 12.34 kB / 0.8199 GB, free: 17.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.408, allocations: 479 kB / 0.8204 GB, free: 17.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.013e-05/0.4081, allocations: 22.33 kB / 0.8204 GB, free: 17.41 MB / 0.7605 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.0001273/0.4082, allocations: 226.9 kB / 0.8206 GB, free: 17.22 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-05/0.4083, allocations: 54.61 kB / 0.8207 GB, free: 17.22 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.4088, allocations: 353.7 kB / 0.821 GB, free: 17.17 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4088, allocations: 6.641 kB / 0.821 GB, free: 17.17 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.4088, allocations: 1.344 kB / 0.821 GB, free: 17.17 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4088, allocations: 2.969 kB / 0.821 GB, free: 17.17 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009133/0.4097, allocations: 0.815 MB / 0.8218 GB, free: 16.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4097, allocations: 2.5 kB / 0.8218 GB, free: 16.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.41, allocations: 110.4 kB / 0.8219 GB, free: 16.83 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.41, allocations: 4.75 kB / 0.8219 GB, free: 16.83 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.41, allocations: 10.11 kB / 0.8219 GB, free: 16.83 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004219/0.4104, allocations: 2.92 MB / 0.8248 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4104, allocations: 3.531 kB / 0.8248 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.4108, allocations: 436.3 kB / 0.8252 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.4109, allocations: 105.6 kB / 0.8253 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.4109, allocations: 7.734 kB / 0.8253 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.4111, allocations: 21.5 kB / 0.8253 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.4112, allocations: 31.38 kB / 0.8254 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.4112, allocations: 9.25 kB / 0.8254 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002766/0.4115, allocations: 329.2 kB / 0.8257 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.4115, allocations: 0.75 kB / 0.8257 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007478/0.4122, allocations: 0.5038 MB / 0.8262 GB, free: 13.54 MB / 0.7605 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.0002839/0.4125, allocations: 199.7 kB / 0.8264 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009887/0.4135, allocations: 0.5907 MB / 0.827 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/0.4135, allocations: 9.156 kB / 0.827 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.4137, allocations: 143.9 kB / 0.8271 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007547/0.4145, allocations: 324.2 kB / 0.8274 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.4162, allocations: 1.468 MB / 0.8289 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.4165, allocations: 407 kB / 0.8292 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007538/0.4172, allocations: 344.8 kB / 0.8296 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of SimCode: time 6.41e-07/0.4172, allocations: 3.375 kB / 0.8296 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of Templates: time 0.02004/0.4373, allocations: 24.07 MB / 0.8531 GB, free: 0.9219 MB / 0.7605 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 > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.940136654302478]