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.0007696/0.0007696, allocations: 80.45 kB / 20.69 MB, free: 3.848 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.0007736/0.0007736, allocations: 177.2 kB / 23.97 MB, free: 0.5664 MB / 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.8734/0.8734, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 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.5508/0.5508, allocations: 114 MB / 374.7 MB, free: 8.723 MB / 346.7 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 2.325e-06/2.325e-06, allocations: 0 / 0.5554 GB, free: 1.254 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.366e-05, allocations: 2.281 kB / 0.5554 GB, free: 1.25 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002899/0.002933, allocations: 1.417 MB / 0.5568 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.006112, allocations: 2.392 MB / 0.5591 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.006157, allocations: 0 / 0.5591 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.007931, allocations: 0.5476 MB / 0.5596 GB, free: 12.88 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.962e-05/0.00799, allocations: 23.91 kB / 0.5597 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.02e-06/0.007995, allocations: 0 / 0.5597 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.008254, allocations: 174.8 kB / 0.5598 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.566e-05/0.00832, allocations: 12.53 kB / 0.5598 GB, free: 12.67 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.008445, allocations: 79.8 kB / 0.5599 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.008586, allocations: 59.83 kB / 0.56 GB, free: 12.53 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.008602, allocations: 4 kB / 0.56 GB, free: 12.53 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009455/0.009547, allocations: 415.3 kB / 0.5604 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.009612, allocations: 35.78 kB / 0.5604 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.009695, allocations: 59.86 kB / 0.5605 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006844/0.01038, allocations: 450.1 kB / 0.5609 GB, free: 11.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.01039, allocations: 3.984 kB / 0.5609 GB, free: 11.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01039, allocations: 3.938 kB / 0.5609 GB, free: 11.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.01039, allocations: 4 kB / 0.5609 GB, free: 11.57 MB / 490.7 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.0009241/0.01132, allocations: 480.8 kB / 0.5614 GB, free: 11.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.01136, allocations: 12.62 kB / 0.5614 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.01153, allocations: 104 kB / 0.5615 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.01175, allocations: 247.8 kB / 0.5617 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.823e-05/0.01181, allocations: 158.9 kB / 0.5619 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.01186, allocations: 158.9 kB / 0.562 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.376e-05/0.01193, allocations: 101.5 kB / 0.5621 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.01195, allocations: 79.47 kB / 0.5622 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/0.012, allocations: 154.9 kB / 0.5623 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.01204, allocations: 154.9 kB / 0.5625 GB, free: 9.891 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.006e-05/0.01209, allocations: 154.5 kB / 0.5626 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.01245, allocations: 493.2 kB / 0.5631 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.847e-05/0.01252, allocations: 169.1 kB / 0.5633 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.01256, allocations: 84.14 kB / 0.5633 GB, free: 8.965 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.01258, allocations: 79.28 kB / 0.5634 GB, free: 8.887 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.01263, allocations: 105.8 kB / 0.5635 GB, free: 8.773 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.01263, allocations: 0 / 0.5635 GB, free: 8.773 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.000172/0.0128, allocations: 61.44 kB / 0.5636 GB, free: 8.707 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.01286, allocations: 130.7 kB / 0.5637 GB, free: 8.566 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.01331, allocations: 437.3 kB / 0.5641 GB, free: 8.133 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.01332, allocations: 25.7 kB / 0.5642 GB, free: 8.102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.01341, allocations: 140.6 kB / 0.5643 GB, free: 7.961 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.01341, allocations: 0 / 0.5643 GB, free: 7.961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.0135, allocations: 85.67 kB / 0.5644 GB, free: 7.871 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.01362, allocations: 342.8 kB / 0.5647 GB, free: 7.527 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.01374, allocations: 92.61 kB / 0.5648 GB, free: 7.438 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.01419, allocations: 169.9 kB / 0.5649 GB, free: 7.254 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.0145, allocations: 313.5 kB / 0.5652 GB, free: 6.926 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01451, allocations: 0 / 0.5652 GB, free: 6.926 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000483/0.01499, allocations: 333.1 kB / 0.5656 GB, free: 6.594 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.01501, allocations: 4 kB / 0.5656 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.01502, allocations: 4 kB / 0.5656 GB, free: 6.586 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.01503, allocations: 7.875 kB / 0.5656 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.591e-06/0.01504, allocations: 4 kB / 0.5656 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01504, allocations: 0 / 0.5656 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.01519, allocations: 47.5 kB / 0.5656 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.0152, allocations: 4 kB / 0.5656 GB, free: 6.523 MB / 490.7 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.0002312/0.01543, allocations: 245.2 kB / 0.5659 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.01551, allocations: 132.7 kB / 0.566 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.01556, allocations: 114.9 kB / 0.5661 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-05/0.01561, allocations: 176.3 kB / 0.5663 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.029e-05/0.01567, allocations: 196.3 kB / 0.5665 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.177e-05/0.01572, allocations: 180.2 kB / 0.5666 GB, free: 5.449 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.01597, allocations: 420.8 kB / 0.567 GB, free: 5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.935e-05/0.01601, allocations: 113 kB / 0.5671 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.01604, allocations: 104.9 kB / 0.5672 GB, free: 4.773 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.823e-05/0.0161, allocations: 180.2 kB / 0.5674 GB, free: 4.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/0.01617, allocations: 180.3 kB / 0.5676 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.097e-05/0.01622, allocations: 184.2 kB / 0.5678 GB, free: 4.219 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.077e-05/0.01627, allocations: 176.3 kB / 0.5679 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.01641, allocations: 335.5 kB / 0.5682 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.01648, allocations: 124.8 kB / 0.5684 GB, free: 3.559 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.992e-05/0.01656, allocations: 180.2 kB / 0.5685 GB, free: 3.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.01668, allocations: 109 kB / 0.5686 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.01674, allocations: 180.2 kB / 0.5688 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.01677, allocations: 105 kB / 0.5689 GB, free: 2.969 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002678/0.01704, allocations: 279.1 kB / 0.5692 GB, free: 2.699 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01704, allocations: 0 / 0.5692 GB, free: 2.699 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004044/0.01745, allocations: 83.88 kB / 0.5693 GB, free: 2.617 MB / 490.7 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.0003991/0.01785, allocations: 322.3 kB / 0.5696 GB, free: 2.289 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.01804, allocations: 127.8 kB / 0.5697 GB, free: 2.164 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.01805, allocations: 7.938 kB / 0.5697 GB, free: 2.156 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.01805, allocations: 0 / 0.5697 GB, free: 2.156 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.01843, allocations: 465.2 kB / 0.5701 GB, free: 1.703 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.01905, allocations: 0.5005 MB / 0.5706 GB, free: 1.172 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.01919, allocations: 168.6 kB / 0.5708 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.01922, allocations: 12.5 kB / 0.5708 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01922, allocations: 0 / 0.5708 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of Templates: time 0.005524/0.02474, allocations: 3.263 MB / 0.574 GB, free: 13.71 MB / 0.4948 GB " [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.12373626511544] Failed to read output from testmodel.py, exit status != 0: 0.03141186386346817 0.037708120000000005 0.025672023000000002 Calling exit ...