Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001647/0.001647, allocations: 85.06 kB / 19.76 MB, free: 2.023 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.002022/0.002022, allocations: 156.7 kB / 23.01 MB, free: 4.961 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.419/1.419, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.002533/0.002533, allocations: 238 kB / 260 MB, free: 428 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.9271/0.9271, allocations: 138.5 MB / 455 MB, free: 15.06 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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") [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.003319/0.003319, allocations: 99.86 kB / 0.6473 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.439, allocations: 95.34 MB / 0.7404 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002633/0.4416, allocations: 1.423 MB / 0.7418 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.4438, allocations: 1.768 MB / 0.7435 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.4438, allocations: 0 / 0.7435 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.4451, allocations: 356.8 kB / 0.7439 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.755e-05/0.4451, allocations: 12.62 kB / 0.7439 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 3.857e-06/0.4451, allocations: 0 / 0.7439 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.4453, allocations: 125.2 kB / 0.744 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.4454, allocations: 6.406 kB / 0.744 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 7.02e-05/0.4455, allocations: 53.55 kB / 0.7441 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.4456, allocations: 63.03 kB / 0.7441 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.4456, allocations: 1.875 kB / 0.7441 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005121/0.4461, allocations: 178 kB / 0.7443 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.4462, allocations: 27.16 kB / 0.7443 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.59e-05/0.4463, allocations: 56.73 kB / 0.7444 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.4468, allocations: 293 kB / 0.7447 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4468, allocations: 0 / 0.7447 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4468, allocations: 0 / 0.7447 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.4468, allocations: 4 kB / 0.7447 GB, free: 14.88 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.0006727/0.4475, allocations: 426 kB / 0.7451 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.4475, allocations: 10.34 kB / 0.7451 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.4477, allocations: 95.86 kB / 0.7452 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.4478, allocations: 233.9 kB / 0.7454 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.4479, allocations: 156.3 kB / 0.7456 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.4479, allocations: 154.3 kB / 0.7457 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.933e-05/0.4479, allocations: 114.4 kB / 0.7458 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4479, allocations: 76.08 kB / 0.7459 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.4479, allocations: 155.9 kB / 0.746 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.448, allocations: 151.9 kB / 0.7462 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.986e-05/0.448, allocations: 154.6 kB / 0.7463 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.4482, allocations: 458 kB / 0.7468 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.729e-05/0.4483, allocations: 175.8 kB / 0.7469 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.4483, allocations: 84.19 kB / 0.747 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.4483, allocations: 80.64 kB / 0.7471 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.4483, allocations: 112.3 kB / 0.7472 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.4483, allocations: 0 / 0.7472 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001753/0.4485, allocations: 52.06 kB / 0.7472 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.4485, allocations: 132.8 kB / 0.7474 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.4489, allocations: 326.5 kB / 0.7477 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.4489, allocations: 25.7 kB / 0.7477 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.4489, allocations: 119 kB / 0.7478 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.4489, allocations: 0 / 0.7478 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.449, allocations: 61.75 kB / 0.7479 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.449, allocations: 330.9 kB / 0.7482 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.842e-05/0.4491, allocations: 67.14 kB / 0.7483 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.4492, allocations: 116.4 kB / 0.7484 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.4495, allocations: 210.5 kB / 0.7486 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4495, allocations: 1.844 kB / 0.7486 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000419/0.4499, allocations: 234.1 kB / 0.7488 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4499, allocations: 11.17 kB / 0.7488 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.4499, allocations: 1.438 kB / 0.7488 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4499, allocations: 2.906 kB / 0.7488 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.4499, allocations: 2 kB / 0.7488 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4499, allocations: 2.75 kB / 0.7488 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.4501, allocations: 38.33 kB / 0.7488 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.4501, allocations: 5.094 kB / 0.7489 GB, free: 11.18 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.0002031/0.4503, allocations: 227.1 kB / 0.7491 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.4503, allocations: 127.3 kB / 0.7492 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.4504, allocations: 116.1 kB / 0.7493 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.4504, allocations: 178.4 kB / 0.7495 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.683e-05/0.4504, allocations: 181.6 kB / 0.7496 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.4504, allocations: 186.8 kB / 0.7498 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.4506, allocations: 398.8 kB / 0.7502 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.4506, allocations: 106.8 kB / 0.7503 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.4506, allocations: 103 kB / 0.7504 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.393e-05/0.4507, allocations: 182 kB / 0.7506 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.4507, allocations: 186.3 kB / 0.7508 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-05/0.4507, allocations: 182.3 kB / 0.7509 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.478e-05/0.4507, allocations: 186.3 kB / 0.7511 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.543e-05/0.4508, allocations: 319.7 kB / 0.7514 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.4509, allocations: 121.1 kB / 0.7515 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.4509, allocations: 187.1 kB / 0.7517 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.451, allocations: 107 kB / 0.7518 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.4511, allocations: 178.2 kB / 0.752 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.4511, allocations: 108.2 kB / 0.7521 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000205/0.4513, allocations: 214.3 kB / 0.7523 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.4513, allocations: 3.938 kB / 0.7523 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003752/0.4517, allocations: 64.42 kB / 0.7523 GB, free: 7.703 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.0003025/0.452, allocations: 274.7 kB / 0.7526 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001769/0.4521, allocations: 85.62 kB / 0.7527 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4521, allocations: 0 / 0.7527 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.4521, allocations: 1.438 kB / 0.7527 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.4524, allocations: 464.5 kB / 0.7531 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.453, allocations: 397.2 kB / 0.7535 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.4531, allocations: 126.8 kB / 0.7536 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.776e-05/0.4531, allocations: 11.16 kB / 0.7536 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.4531, allocations: 10.81 kB / 0.7537 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.4531, allocations: 0 / 0.7537 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of Templates: time 0.006127/0.4592, allocations: 2.271 MB / 0.7559 GB, free: 6.328 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.829802318010479] Failed to read output from testmodel.py, exit status != 0: 0.4672206670511514 0.47858064300000003 0.028890216000000003 Calling exit ...