Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.001016/0.001016, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001104/0.001104, allocations: 171.2 kB / 25.18 MB, free: 8.828 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.9001/0.9001, allocations: 177.1 MB / 205.6 MB, free: 4.367 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.933/1.933, 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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7756 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.555e-05, allocations: 6.25 kB / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.02678/0.0268, allocations: 24.91 MB / 0.7999 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.3932/0.42, allocations: 9.976 MB / 0.8096 GB, free: 19.23 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005073/0.4251, allocations: 149.9 kB / 0.8098 GB, free: 19.23 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.003447/0.4285, allocations: 0.756 MB / 0.8105 GB, free: 19.22 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.007673/0.4362, allocations: 2.551 MB / 0.813 GB, free: 18.87 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.005914/0.4421, allocations: 2.918 MB / 0.8159 GB, free: 18.79 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.008837/0.4509, allocations: 7.089 MB / 0.8228 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003591/0.4545, allocations: 2 MB / 0.8247 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006594/0.4611, allocations: 3.373 MB / 0.828 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003266/0.4644, allocations: 1.793 MB / 0.8298 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0007755/0.4652, allocations: 248.6 kB / 0.83 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.4678, allocations: 0.9812 MB / 0.831 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0006587/0.4684, allocations: 0.7373 MB / 0.8317 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.4703, allocations: 0.9845 MB / 0.8327 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004015/0.4743, allocations: 2.568 MB / 0.8352 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4743, allocations: 0 / 0.8352 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4743, allocations: 3.234 kB / 0.8352 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001181/0.4744, allocations: 0.9688 kB / 0.8352 GB, free: 10.87 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.004318/0.4787, allocations: 3.007 MB / 0.8381 GB, free: 9.16 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4788, allocations: 10.41 kB / 0.8381 GB, free: 9.16 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007311/0.4795, allocations: 356 kB / 0.8385 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.4819, allocations: 1.497 MB / 0.8399 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.482, allocations: 122.1 kB / 0.84 GB, free: 8.289 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.4822, allocations: 171.6 kB / 0.8402 GB, free: 8.238 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.4835, allocations: 1.361 MB / 0.8415 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.4835, allocations: 8.281 kB / 0.8415 GB, free: 7.488 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.4836, allocations: 65.55 kB / 0.8416 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-05/0.4837, allocations: 46.12 kB / 0.8416 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006619/0.4843, allocations: 402.5 kB / 0.842 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004896/0.4892, allocations: 4.36 MB / 0.8463 GB, free: 4.691 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.4895, allocations: 239.6 kB / 0.8465 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4896, allocations: 121.9 kB / 0.8466 GB, free: 4.539 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.4897, allocations: 45.84 kB / 0.8467 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.4897, allocations: 48.16 kB / 0.8467 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=60): time 2.815e-06/0.4897, allocations: 0 / 0.8467 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of matching and sorting (n=60): time 0.0006168/0.4904, allocations: 396 kB / 0.8471 GB, free: 4.352 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.4904, allocations: 56.88 kB / 0.8472 GB, free: 4.285 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.4916, allocations: 1.65 MB / 0.8488 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.4916, allocations: 51.2 kB / 0.8488 GB, free: 3.625 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.4919, allocations: 0.833 MB / 0.8496 GB, free: 3.031 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.4921, allocations: 224 kB / 0.8498 GB, free: 2.855 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.4922, allocations: 245 kB / 0.8501 GB, free: 2.73 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.4923, allocations: 351.6 kB / 0.8504 GB, free: 2.414 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.4924, allocations: 117.5 kB / 0.8505 GB, free: 2.371 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.4928, allocations: 0.9276 MB / 0.8514 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.4932, allocations: 0.5705 MB / 0.852 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.4932, allocations: 3.062 kB / 0.852 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0006908/0.4939, allocations: 0.6451 MB / 0.8526 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4939, allocations: 6.062 kB / 0.8526 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4939, allocations: 8.781 kB / 0.8526 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4939, allocations: 15.03 kB / 0.8526 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.4945, allocations: 264.3 kB / 0.8529 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4945, allocations: 19.8 kB / 0.8529 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/0.4952, allocations: 137.6 kB / 0.8531 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.4953, allocations: 43.23 kB / 0.8531 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003444/0.4956, allocations: 209 kB / 0.8533 GB, free: 372 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004077/0.496, allocations: 0.9315 MB / 0.8542 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004478/0.4965, allocations: 0.5687 MB / 0.8548 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/0.4965, allocations: 0 / 0.8548 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.0006689/0.4972, allocations: 0.6352 MB / 0.8554 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4972, allocations: 10.84 kB / 0.8554 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4972, allocations: 8 kB / 0.8554 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.4972, allocations: 16 kB / 0.8554 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.4977, allocations: 253.6 kB / 0.8557 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.4977, allocations: 19.92 kB / 0.8557 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.4983, allocations: 108.5 kB / 0.8558 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.4984, allocations: 48.83 kB / 0.8558 GB, free: 13.96 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.4986, allocations: 249.8 kB / 0.8561 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.4987, allocations: 136.9 kB / 0.8562 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006036/0.4993, allocations: 485.1 kB / 0.8567 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.4993, allocations: 8 kB / 0.8567 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.4993, allocations: 0 / 0.8567 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002369/0.4996, allocations: 316.1 kB / 0.857 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.5012, allocations: 1.326 MB / 0.8583 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5012, allocations: 0 / 0.8583 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.5015, allocations: 139.3 kB / 0.8584 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.5015, allocations: 5.062 kB / 0.8584 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.5015, allocations: 13.5 kB / 0.8584 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.5016, allocations: 7.938 kB / 0.8584 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5016, allocations: 0 / 0.8584 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.5021, allocations: 0.6337 MB / 0.859 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.5025, allocations: 246.4 kB / 0.8593 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.5026, allocations: 12 kB / 0.8593 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.503, allocations: 39.08 kB / 0.8593 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.503, allocations: 44.41 kB / 0.8594 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.5031, allocations: 19.98 kB / 0.8594 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006955/0.5038, allocations: 0.8431 MB / 0.8602 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5038, allocations: 0 / 0.8602 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001741/0.5055, allocations: 1.072 MB / 0.8612 GB, free: 8.57 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001541/0.507, allocations: 0.5824 MB / 0.8618 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.5081, allocations: 0.7217 MB / 0.8625 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.922e-05/0.5081, allocations: 24.5 kB / 0.8625 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.5082, allocations: 153.8 kB / 0.8627 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.5107, allocations: 1.18 MB / 0.8638 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.5152, allocations: 3.305 MB / 0.8671 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.5159, allocations: 0.9456 MB / 0.868 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/0.5176, allocations: 0.7527 MB / 0.8687 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of SimCode: time 1.813e-06/0.5176, allocations: 4 kB / 0.8687 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of Templates: time 0.03839/0.556, allocations: 34.38 MB / 0.9023 GB, free: 15.03 MB / 0.823 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.559438610449433]