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.00163/0.00163, allocations: 74.12 kB / 19.01 MB, free: 2.859 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.001576/0.001576, allocations: 161.3 kB / 22.25 MB, free: 5.117 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.457/1.457, allocations: 177.2 MB / 202.6 MB, free: 9.273 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.002804/0.002804, allocations: 233 kB / 259.2 MB, free: 0.5898 MB / 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 1.077/1.077, allocations: 138.5 MB / 454.2 MB, free: 2.031 MB / 366.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.003476/0.003476, allocations: 107.8 kB / 0.6466 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.441, allocations: 95.35 MB / 0.7397 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00314/0.4441, allocations: 1.435 MB / 0.7411 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003349/0.4475, allocations: 2.386 MB / 0.7434 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.4475, allocations: 0 / 0.7434 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.449, allocations: 0.5562 MB / 0.744 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.4491, allocations: 19.91 kB / 0.744 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.568e-06/0.4491, allocations: 0 / 0.744 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.4494, allocations: 154.9 kB / 0.7441 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.4494, allocations: 12.59 kB / 0.7441 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.4495, allocations: 95.59 kB / 0.7442 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.4497, allocations: 79.58 kB / 0.7443 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.4497, allocations: 4 kB / 0.7443 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009182/0.4506, allocations: 403.5 kB / 0.7447 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.4507, allocations: 35.83 kB / 0.7447 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.979e-05/0.4508, allocations: 83.55 kB / 0.7448 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006283/0.4514, allocations: 430 kB / 0.7452 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4514, allocations: 0 / 0.7452 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4514, allocations: 3.938 kB / 0.7452 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.4514, allocations: 4 kB / 0.7452 GB, free: 9.516 MB / 0.5762 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.0008324/0.4523, allocations: 488.7 kB / 0.7457 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4523, allocations: 8.75 kB / 0.7457 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.4525, allocations: 104 kB / 0.7458 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.4528, allocations: 256.5 kB / 0.746 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.4528, allocations: 162.9 kB / 0.7462 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/0.4529, allocations: 154.9 kB / 0.7464 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.887e-05/0.453, allocations: 101.5 kB / 0.7464 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.453, allocations: 75.47 kB / 0.7465 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.4531, allocations: 162.5 kB / 0.7467 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.207e-05/0.4532, allocations: 154.5 kB / 0.7468 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.458e-05/0.4533, allocations: 150.6 kB / 0.747 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.4537, allocations: 497.2 kB / 0.7474 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.4538, allocations: 173.1 kB / 0.7476 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.4538, allocations: 80.14 kB / 0.7477 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/0.4539, allocations: 79.27 kB / 0.7478 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.4539, allocations: 109.8 kB / 0.7479 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4539, allocations: 0 / 0.7479 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001849/0.4541, allocations: 61.39 kB / 0.7479 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.4542, allocations: 130.7 kB / 0.748 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.4547, allocations: 429.3 kB / 0.7485 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.4547, allocations: 25.7 kB / 0.7485 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/0.4548, allocations: 140.5 kB / 0.7486 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.4548, allocations: 0 / 0.7486 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.4549, allocations: 89.66 kB / 0.7487 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4551, allocations: 342.8 kB / 0.749 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.4552, allocations: 100.6 kB / 0.7491 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.4554, allocations: 165.9 kB / 0.7493 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.4558, allocations: 309.6 kB / 0.7496 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4558, allocations: 0 / 0.7496 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005463/0.4563, allocations: 325.1 kB / 0.7499 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4563, allocations: 4 kB / 0.7499 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4564, allocations: 3.938 kB / 0.7499 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4564, allocations: 7.938 kB / 0.7499 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.186e-06/0.4564, allocations: 3.984 kB / 0.7499 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.4564, allocations: 8.062 kB / 0.7499 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.4565, allocations: 43.73 kB / 0.75 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.4565, allocations: 8 kB / 0.75 GB, free: 4.438 MB / 0.5762 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.0002858/0.4568, allocations: 241.1 kB / 0.7502 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/0.4569, allocations: 132.7 kB / 0.7503 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.771e-05/0.457, allocations: 118.7 kB / 0.7504 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.304e-05/0.4571, allocations: 188.1 kB / 0.7506 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.479e-05/0.4572, allocations: 180.3 kB / 0.7508 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.262e-05/0.4572, allocations: 176.3 kB / 0.751 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.4576, allocations: 428.7 kB / 0.7514 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/0.4576, allocations: 101 kB / 0.7515 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.477e-05/0.4577, allocations: 112.9 kB / 0.7516 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.401e-05/0.4577, allocations: 176.3 kB / 0.7517 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-05/0.4578, allocations: 176.3 kB / 0.7519 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.162e-05/0.4579, allocations: 188.2 kB / 0.7521 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.875e-05/0.458, allocations: 184.2 kB / 0.7523 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.4582, allocations: 323.8 kB / 0.7526 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.4583, allocations: 128.8 kB / 0.7527 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.4584, allocations: 196.2 kB / 0.7529 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.4585, allocations: 105 kB / 0.753 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.4586, allocations: 184.1 kB / 0.7531 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.4587, allocations: 105 kB / 0.7532 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002948/0.459, allocations: 283.1 kB / 0.7535 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.459, allocations: 3.938 kB / 0.7535 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004135/0.4594, allocations: 87.86 kB / 0.7536 GB, free: 0.5117 MB / 0.5762 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.0003916/0.4598, allocations: 302.2 kB / 0.7539 GB, free: 212 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.46, allocations: 123.8 kB / 0.754 GB, free: 88 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.46, allocations: 0 / 0.754 GB, free: 88 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.46, allocations: 448 / 0.754 GB, free: 88 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.4605, allocations: 469.2 kB / 0.7545 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007187/0.4612, allocations: 0.4949 MB / 0.7549 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.4614, allocations: 171 kB / 0.7551 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.15e-05/0.4614, allocations: 4 kB / 0.7551 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.4614, allocations: 12.5 kB / 0.7551 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.4614, allocations: 0 / 0.7551 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.007214/0.4686, allocations: 3.029 MB / 0.7581 GB, free: 11.91 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.027066145092249] Failed to read output from testmodel.py, exit status != 0: 0.47746744751930237 0.49122379 0.036644492 Calling exit ...