Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001617/0.001617, allocations: 82.64 kB / 19.94 MB, free: 1.777 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.001774/0.001774, allocations: 163.7 kB / 23.22 MB, free: 4.902 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.374/1.374, allocations: 177.1 MB / 203.5 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9059/0.9059, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5546 GB, free: 2.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.193e-05, allocations: 4.672 kB / 0.5546 GB, free: 2.66 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002855/0.002886, allocations: 1.423 MB / 0.556 GB, free: 1.234 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003588/0.006475, allocations: 2.402 MB / 0.5584 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.006511, allocations: 0 / 0.5584 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.008388, allocations: 0.5476 MB / 0.5589 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.008452, allocations: 19.84 kB / 0.5589 GB, free: 14.25 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.589e-06/0.008457, allocations: 4 kB / 0.5589 GB, free: 14.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.008743, allocations: 170.8 kB / 0.5591 GB, free: 14.08 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.614e-05/0.008809, allocations: 12.59 kB / 0.5591 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.008939, allocations: 79.78 kB / 0.5592 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.00909, allocations: 63.83 kB / 0.5592 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.009108, allocations: 4 kB / 0.5593 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.01013, allocations: 411.3 kB / 0.5596 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.01019, allocations: 35.78 kB / 0.5597 GB, free: 13.49 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.01028, allocations: 55.86 kB / 0.5597 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007546/0.01103, allocations: 454.1 kB / 0.5602 GB, free: 12.99 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.01104, allocations: 4 kB / 0.5602 GB, free: 12.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01104, allocations: 0 / 0.5602 GB, free: 12.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.01104, allocations: 0 / 0.5602 GB, free: 12.98 MB / 478.1 MB 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.0008712/0.01192, allocations: 487.3 kB / 0.5606 GB, free: 12.48 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.01195, allocations: 8.625 kB / 0.5606 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.01213, allocations: 104 kB / 0.5607 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.0124, allocations: 251.8 kB / 0.561 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.01247, allocations: 154.9 kB / 0.5611 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.01255, allocations: 150.9 kB / 0.5613 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.776e-05/0.01263, allocations: 113.5 kB / 0.5614 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/0.01267, allocations: 79.41 kB / 0.5615 GB, free: 11.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.01274, allocations: 154.9 kB / 0.5616 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.729e-05/0.01282, allocations: 150.9 kB / 0.5617 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.976e-05/0.01289, allocations: 154.5 kB / 0.5619 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.01333, allocations: 489.3 kB / 0.5624 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.01345, allocations: 177.1 kB / 0.5625 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.0135, allocations: 84.14 kB / 0.5626 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.01354, allocations: 75.28 kB / 0.5627 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.783e-05/0.01361, allocations: 105.8 kB / 0.5628 GB, free: 10.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.01361, allocations: 8 kB / 0.5628 GB, free: 10.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001957/0.0138, allocations: 57.5 kB / 0.5628 GB, free: 10.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.01389, allocations: 130.6 kB / 0.563 GB, free: 9.969 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.01442, allocations: 433.3 kB / 0.5634 GB, free: 9.539 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.01444, allocations: 29.7 kB / 0.5634 GB, free: 9.504 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.01458, allocations: 136.6 kB / 0.5635 GB, free: 9.367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-06/0.01459, allocations: 0 / 0.5635 GB, free: 9.367 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.01469, allocations: 85.67 kB / 0.5636 GB, free: 9.277 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.01488, allocations: 342.8 kB / 0.564 GB, free: 8.934 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.01501, allocations: 92.61 kB / 0.564 GB, free: 8.844 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.0152, allocations: 169.9 kB / 0.5642 GB, free: 8.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.01558, allocations: 317.5 kB / 0.5645 GB, free: 8.328 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01559, allocations: 0 / 0.5645 GB, free: 8.328 MB / 478.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006009/0.01619, allocations: 333 kB / 0.5648 GB, free: 7.996 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.01621, allocations: 8 kB / 0.5648 GB, free: 7.988 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01622, allocations: 0 / 0.5648 GB, free: 7.988 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.01624, allocations: 4 kB / 0.5648 GB, free: 7.984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-06/0.01624, allocations: 3.938 kB / 0.5648 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.01625, allocations: 4 kB / 0.5648 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.01642, allocations: 43.5 kB / 0.5649 GB, free: 7.934 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.01643, allocations: 4 kB / 0.5649 GB, free: 7.93 MB / 478.1 MB 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.0002568/0.01669, allocations: 258.2 kB / 0.5651 GB, free: 7.668 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.01682, allocations: 128.7 kB / 0.5653 GB, free: 7.535 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.042e-05/0.0169, allocations: 110.9 kB / 0.5654 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001367/0.01703, allocations: 180.3 kB / 0.5655 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.841e-05/0.01713, allocations: 184.2 kB / 0.5657 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.655e-05/0.01723, allocations: 184.2 kB / 0.5659 GB, free: 6.855 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.01757, allocations: 428.7 kB / 0.5663 GB, free: 6.398 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.026e-05/0.01762, allocations: 101 kB / 0.5664 GB, free: 6.293 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.01767, allocations: 105 kB / 0.5665 GB, free: 6.184 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.909e-05/0.01776, allocations: 188.2 kB / 0.5667 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.701e-05/0.01786, allocations: 176.5 kB / 0.5668 GB, free: 5.812 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.573e-05/0.01796, allocations: 184.2 kB / 0.567 GB, free: 5.625 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.725e-05/0.01805, allocations: 188.3 kB / 0.5672 GB, free: 5.434 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.01826, allocations: 331.5 kB / 0.5675 GB, free: 5.086 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.01837, allocations: 124.8 kB / 0.5676 GB, free: 4.957 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.01849, allocations: 188.2 kB / 0.5678 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.01864, allocations: 101 kB / 0.5679 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.01874, allocations: 184.3 kB / 0.5681 GB, free: 4.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.01879, allocations: 104.9 kB / 0.5682 GB, free: 4.363 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003054/0.0191, allocations: 275.1 kB / 0.5684 GB, free: 4.098 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0191, allocations: 4 kB / 0.5684 GB, free: 4.094 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004319/0.01953, allocations: 87.88 kB / 0.5685 GB, free: 4.008 MB / 478.1 MB 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.0004682/0.02, allocations: 310.2 kB / 0.5688 GB, free: 3.691 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.02022, allocations: 123.8 kB / 0.5689 GB, free: 3.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02022, allocations: 0 / 0.5689 GB, free: 3.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.368e-06/0.02022, allocations: 3.938 kB / 0.5689 GB, free: 3.566 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.02067, allocations: 461.2 kB / 0.5694 GB, free: 3.113 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007827/0.02145, allocations: 499.2 kB / 0.5699 GB, free: 2.602 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.02164, allocations: 171 kB / 0.57 GB, free: 2.414 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.677e-05/0.02166, allocations: 0 / 0.57 GB, free: 2.414 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.02169, allocations: 12.5 kB / 0.57 GB, free: 2.402 MB / 478.1 MB Notification: Performance of SimCode: time 4.21e-07/0.02169, allocations: 0 / 0.57 GB, free: 2.402 MB / 478.1 MB Notification: Performance of Templates: time 0.008058/0.02975, allocations: 3.042 MB / 0.573 GB, free: 15.4 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.254194509238005] Failed to read output from testmodel.py, exit status != 0: 0.03873429819941521 0.053902893 0.039714851 Calling exit ...