Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.0009137/0.0009137, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009452/0.0009452, allocations: 161 kB / 24.17 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.9371/0.9371, allocations: 177.2 MB / 204.6 MB, free: 5.273 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.945/1.945, allocations: 389.6 MB / 0.6354 GB, free: 12.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.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 4 kB / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.313e-05, allocations: 4.25 kB / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.03205/0.03208, allocations: 31.49 MB / 0.8059 GB, free: 5.848 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.02198/0.05406, allocations: 11.76 MB / 0.8174 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004853/0.05891, allocations: 198.2 kB / 0.8176 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.06036, allocations: 0.5274 MB / 0.8181 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004087/0.06445, allocations: 2.058 MB / 0.8201 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.06834, allocations: 2.442 MB / 0.8225 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00545/0.07379, allocations: 5.154 MB / 0.8275 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002315/0.07611, allocations: 1.848 MB / 0.8293 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003677/0.07978, allocations: 2.765 MB / 0.832 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.08174, allocations: 1.616 MB / 0.8336 GB, free: 9.504 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0004337/0.08218, allocations: 215.7 kB / 0.8338 GB, free: 9.297 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.08336, allocations: 0.7372 MB / 0.8345 GB, free: 8.559 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003885/0.08374, allocations: 0.5796 MB / 0.8351 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0009192/0.08466, allocations: 0.8455 MB / 0.8359 GB, free: 7.129 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.08693, allocations: 2.117 MB / 0.838 GB, free: 5.004 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.08693, allocations: 3.984 kB / 0.838 GB, free: 5 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.362e-06/0.08694, allocations: 0 / 0.838 GB, free: 5 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.178e-05/0.087, allocations: 0 / 0.838 GB, free: 5 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002804/0.0898, allocations: 2.543 MB / 0.8405 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.08983, allocations: 9.344 kB / 0.8405 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.09015, allocations: 255.8 kB / 0.8407 GB, free: 2.16 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.09152, allocations: 1.122 MB / 0.8418 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.481e-05/0.09157, allocations: 102.3 kB / 0.8419 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.09169, allocations: 140 kB / 0.8421 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.09249, allocations: 0.7609 MB / 0.8428 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.09251, allocations: 4 kB / 0.8428 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.09257, allocations: 44 kB / 0.8429 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.09259, allocations: 31.94 kB / 0.8429 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/0.09301, allocations: 348.1 kB / 0.8432 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.09714, allocations: 2.784 MB / 0.8459 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.09746, allocations: 309.6 kB / 0.8462 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.09761, allocations: 153.9 kB / 0.8464 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.09772, allocations: 36.47 kB / 0.8464 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.09774, allocations: 39 kB / 0.8464 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000773/0.09852, allocations: 315.2 kB / 0.8468 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=58): time 3.386e-06/0.09852, allocations: 0 / 0.8468 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=58): time 0.0006135/0.09913, allocations: 477.8 kB / 0.8472 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.09916, allocations: 55.91 kB / 0.8473 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/0.1001, allocations: 1.356 MB / 0.8486 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.957e-05/0.1001, allocations: 45.7 kB / 0.8486 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.1005, allocations: 0.6633 MB / 0.8493 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.1006, allocations: 202.2 kB / 0.8495 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.1008, allocations: 282.5 kB / 0.8497 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.1009, allocations: 353.8 kB / 0.8501 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.1011, allocations: 148.8 kB / 0.8502 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/0.1016, allocations: 0.8234 MB / 0.851 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.102, allocations: 0.502 MB / 0.8515 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1021, allocations: 3.938 kB / 0.8515 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0007176/0.1028, allocations: 0.6519 MB / 0.8522 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1028, allocations: 9.719 kB / 0.8522 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1028, allocations: 4 kB / 0.8522 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1028, allocations: 8 kB / 0.8522 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.1034, allocations: 259.6 kB / 0.8524 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1034, allocations: 11.94 kB / 0.8524 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.1039, allocations: 51.97 kB / 0.8525 GB, free: 5.605 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.104, allocations: 48 kB / 0.8525 GB, free: 5.559 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003557/0.1044, allocations: 244.3 kB / 0.8528 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003973/0.1048, allocations: 0.8272 MB / 0.8536 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004297/0.1052, allocations: 491.3 kB / 0.854 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.031e-06/0.1052, allocations: 4 kB / 0.854 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.000756/0.1059, allocations: 0.636 MB / 0.8547 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.106, allocations: 8.375 kB / 0.8547 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.106, allocations: 4 kB / 0.8547 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.106, allocations: 12 kB / 0.8547 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.1065, allocations: 255.6 kB / 0.8549 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1066, allocations: 11.94 kB / 0.8549 GB, free: 2.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.1071, allocations: 55.97 kB / 0.855 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/0.1072, allocations: 43.95 kB / 0.855 GB, free: 2.742 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * 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.0002231/0.1074, allocations: 247.9 kB / 0.8553 GB, free: 2.492 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.1075, allocations: 107.9 kB / 0.8554 GB, free: 2.387 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008619/0.1084, allocations: 0.637 MB / 0.856 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.1084, allocations: 8 kB / 0.856 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1084, allocations: 4 kB / 0.856 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1084, allocations: 3.984 kB / 0.856 GB, free: 1.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.1099, allocations: 1.295 MB / 0.8573 GB, free: 392 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.1099, allocations: 4 kB / 0.8573 GB, free: 388 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.1102, allocations: 123.8 kB / 0.8574 GB, free: 264 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1102, allocations: 4 kB / 0.8574 GB, free: 260 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.1102, allocations: 19.98 kB / 0.8574 GB, free: 240 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1103, allocations: 4.188 kB / 0.8574 GB, free: 236 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1103, allocations: 11.94 kB / 0.8574 GB, free: 224 kB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.1107, allocations: 0.6215 MB / 0.858 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.111, allocations: 190.7 kB / 0.8582 GB, free: 15.37 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-05/0.1111, allocations: 16 kB / 0.8582 GB, free: 15.35 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.1114, allocations: 19.98 kB / 0.8583 GB, free: 15.33 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.1114, allocations: 60.44 kB / 0.8583 GB, free: 15.27 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.1115, allocations: 23.98 kB / 0.8583 GB, free: 15.25 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004971/0.112, allocations: 0.6763 MB / 0.859 GB, free: 14.54 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.112, allocations: 4 kB / 0.859 GB, free: 14.54 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001254/0.1132, allocations: 0.8887 MB / 0.8599 GB, free: 13.65 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * 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.000314/0.1135, allocations: 184.1 kB / 0.86 GB, free: 13.46 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009609/0.1145, allocations: 0.8391 MB / 0.8609 GB, free: 12.61 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.661e-05/0.1145, allocations: 24 kB / 0.8609 GB, free: 12.59 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.1147, allocations: 207.3 kB / 0.8611 GB, free: 12.39 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.1165, allocations: 0.8867 MB / 0.862 GB, free: 11.52 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.12, allocations: 2.769 MB / 0.8647 GB, free: 8.68 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.1202, allocations: 308.6 kB / 0.865 GB, free: 8.355 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001161/0.1214, allocations: 324.7 kB / 0.8653 GB, free: 8.035 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.1225, allocations: 0.5867 MB / 0.8658 GB, free: 7.441 MB / 0.823 GB Notification: Performance of SimCode: time 1.413e-06/0.1225, allocations: 7.875 kB / 0.8658 GB, free: 7.434 MB / 0.823 GB Notification: Performance of Templates: time 0.04561/0.1681, allocations: 35.49 MB / 0.9005 GB, free: 4.871 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.912101828027517]