Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001737/0.001737, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.002026/0.002026, allocations: 155.4 kB / 23.01 MB, free: 4.949 MB / 14.72 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.456/1.456, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002392/0.002392, allocations: 238.2 kB / 260 MB, free: 460 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9147/0.9147, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003263/0.003263, allocations: 99.84 kB / 0.6473 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4191, allocations: 95.34 MB / 0.7404 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002311/0.4214, allocations: 1.43 MB / 0.7418 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.424, allocations: 2.403 MB / 0.7442 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.424, allocations: 0 / 0.7442 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.4253, allocations: 0.5458 MB / 0.7447 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.748e-05/0.4254, allocations: 20.53 kB / 0.7447 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 3.887e-06/0.4254, allocations: 1.375 kB / 0.7447 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.4256, allocations: 158 kB / 0.7449 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.4256, allocations: 11.55 kB / 0.7449 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.832e-05/0.4257, allocations: 71.39 kB / 0.745 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.4258, allocations: 74.58 kB / 0.745 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.4258, allocations: 7.062 kB / 0.745 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008189/0.4267, allocations: 403.3 kB / 0.7454 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.4267, allocations: 32.75 kB / 0.7455 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.364e-05/0.4268, allocations: 78.55 kB / 0.7455 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.4273, allocations: 440.8 kB / 0.746 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4273, allocations: 0 / 0.746 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4273, allocations: 0 / 0.746 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.4273, allocations: 1.469 kB / 0.746 GB, free: 14.17 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006208/0.428, allocations: 492.8 kB / 0.7464 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.428, allocations: 13.78 kB / 0.7464 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.4281, allocations: 105.2 kB / 0.7465 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.4283, allocations: 251.2 kB / 0.7468 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.4283, allocations: 153.6 kB / 0.7469 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.4283, allocations: 153.7 kB / 0.7471 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.88e-05/0.4284, allocations: 102.9 kB / 0.7472 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.4284, allocations: 75.47 kB / 0.7472 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.4284, allocations: 164.8 kB / 0.7474 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.4285, allocations: 150.6 kB / 0.7475 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.193e-05/0.4285, allocations: 151.8 kB / 0.7477 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.4287, allocations: 496.9 kB / 0.7482 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.603e-05/0.4288, allocations: 171.4 kB / 0.7483 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.4288, allocations: 80.84 kB / 0.7484 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.4288, allocations: 80.59 kB / 0.7485 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4288, allocations: 107.6 kB / 0.7486 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4288, allocations: 0 / 0.7486 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001668/0.429, allocations: 59.69 kB / 0.7486 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.429, allocations: 127.3 kB / 0.7488 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.4294, allocations: 432.3 kB / 0.7492 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.4294, allocations: 31.2 kB / 0.7492 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.4295, allocations: 138.4 kB / 0.7493 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.4295, allocations: 7.938 kB / 0.7493 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.4296, allocations: 90.41 kB / 0.7494 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.66e-05/0.4297, allocations: 340.3 kB / 0.7497 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.4298, allocations: 98.61 kB / 0.7498 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.4299, allocations: 163.9 kB / 0.75 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.4302, allocations: 302.9 kB / 0.7503 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4302, allocations: 0 / 0.7503 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004755/0.4307, allocations: 332 kB / 0.7506 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.4307, allocations: 5.719 kB / 0.7506 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.4307, allocations: 1.969 kB / 0.7506 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.4308, allocations: 10.53 kB / 0.7506 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.375e-06/0.4308, allocations: 2.125 kB / 0.7506 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.4308, allocations: 6.75 kB / 0.7506 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.4309, allocations: 45.33 kB / 0.7507 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.4309, allocations: 4.344 kB / 0.7507 GB, free: 10.21 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001696/0.4311, allocations: 244.5 kB / 0.7509 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.4311, allocations: 129.6 kB / 0.751 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.4312, allocations: 123.5 kB / 0.7512 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.4312, allocations: 182.4 kB / 0.7513 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/0.4312, allocations: 182.5 kB / 0.7515 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.4312, allocations: 182.2 kB / 0.7517 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.4314, allocations: 424.1 kB / 0.7521 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.4314, allocations: 105.5 kB / 0.7522 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.4314, allocations: 103.3 kB / 0.7523 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.881e-05/0.4314, allocations: 179.2 kB / 0.7524 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.4315, allocations: 182.5 kB / 0.7526 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.869e-05/0.4315, allocations: 177.8 kB / 0.7528 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.298e-05/0.4315, allocations: 190.1 kB / 0.753 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.682e-05/0.4316, allocations: 324.9 kB / 0.7533 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.4316, allocations: 130 kB / 0.7534 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.4317, allocations: 200.5 kB / 0.7536 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.4318, allocations: 106.6 kB / 0.7537 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.4318, allocations: 183.2 kB / 0.7539 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.4318, allocations: 106 kB / 0.754 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002288/0.432, allocations: 280.7 kB / 0.7542 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.432, allocations: 3.938 kB / 0.7542 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004252/0.4325, allocations: 89.69 kB / 0.7543 GB, free: 6.66 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003006/0.4328, allocations: 295.9 kB / 0.7546 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.433, allocations: 122.7 kB / 0.7547 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.433, allocations: 0 / 0.7547 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-06/0.433, allocations: 2.438 kB / 0.7547 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.4333, allocations: 463.8 kB / 0.7552 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.4338, allocations: 0.5042 MB / 0.7557 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.4339, allocations: 174.6 kB / 0.7558 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.186e-05/0.4339, allocations: 6.094 kB / 0.7558 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.4339, allocations: 10.84 kB / 0.7559 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/0.4339, allocations: 0 / 0.7559 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of Templates: time 0.006724/0.4406, allocations: 3.026 MB / 0.7588 GB, free: 4.973 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.06055928603746] Failed to read output from testmodel.py, exit status != 0: 0.4483800909947604 0.46008413800000003 0.029825360000000002 Calling exit ...