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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 119 kB / 17.81 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 187.7 kB / 20.74 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.6 MB / 249.1 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7991/0.7991, allocations: 128.4 MB / 432.4 MB, free: 13.45 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00189/0.00189, allocations: 68.12 kB / 0.5987 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3837, allocations: 83.25 MB / 0.68 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002297/0.386, allocations: 1.422 MB / 0.6814 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.3884, allocations: 2.686 MB / 0.684 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.3885, allocations: 0 / 0.684 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.3897, allocations: 0.5786 MB / 0.6846 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.3898, allocations: 24.34 kB / 0.6846 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.908e-06/0.3898, allocations: 0 / 0.6846 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.39, allocations: 158.2 kB / 0.6848 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.399e-05/0.39, allocations: 28.73 kB / 0.6848 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.3901, allocations: 60.34 kB / 0.6848 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.3902, allocations: 74.84 kB / 0.6849 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.3903, allocations: 2.094 kB / 0.6849 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.3913, allocations: 476.2 kB / 0.6854 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.3913, allocations: 35.03 kB / 0.6854 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3914, allocations: 103.6 kB / 0.6855 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005838/0.392, allocations: 434 kB / 0.6859 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.392, allocations: 0 / 0.6859 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.392, allocations: 5.25 kB / 0.6859 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.392, allocations: 3.984 kB / 0.6859 GB, free: 2.695 MB / 0.4981 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.0006452/0.3927, allocations: 0.5582 MB / 0.6865 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3927, allocations: 13.22 kB / 0.6865 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.3929, allocations: 103.5 kB / 0.6866 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.393, allocations: 305.5 kB / 0.6869 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.3931, allocations: 160 kB / 0.687 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.3931, allocations: 153.8 kB / 0.6872 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.906e-05/0.3932, allocations: 101.5 kB / 0.6873 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3932, allocations: 76.88 kB / 0.6873 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.3932, allocations: 154.5 kB / 0.6875 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.3932, allocations: 150.6 kB / 0.6876 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.3932, allocations: 159.9 kB / 0.6878 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.3935, allocations: 0.5308 MB / 0.6883 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.3935, allocations: 170.5 kB / 0.6885 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.3935, allocations: 80.14 kB / 0.6885 GB, free: 32 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.65e-05/0.3936, allocations: 79.28 kB / 0.6886 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.3937, allocations: 111 kB / 0.6887 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3937, allocations: 0 / 0.6887 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 0.0001771/0.3939, allocations: 66.97 kB / 0.6888 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.3939, allocations: 126.7 kB / 0.6889 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.3944, allocations: 431.9 kB / 0.6893 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3944, allocations: 25.7 kB / 0.6893 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.939e-05/0.3945, allocations: 135.3 kB / 0.6895 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.3945, allocations: 0 / 0.6895 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.3947, allocations: 94.94 kB / 0.6896 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3948, allocations: 336 kB / 0.6899 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.395, allocations: 102.7 kB / 0.69 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.3951, allocations: 171.2 kB / 0.6901 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.3955, allocations: 301.1 kB / 0.6904 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3955, allocations: 1.125 kB / 0.6904 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005354/0.396, allocations: 332.1 kB / 0.6907 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.396, allocations: 5.562 kB / 0.6908 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3961, allocations: 6.453 kB / 0.6908 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3961, allocations: 1.5 kB / 0.6908 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.3961, allocations: 6.156 kB / 0.6908 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3961, allocations: 6.141 kB / 0.6908 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.3962, allocations: 52.58 kB / 0.6908 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.3963, allocations: 8.797 kB / 0.6908 GB, free: 14.22 MB / 0.5137 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.0002809/0.3965, allocations: 245.8 kB / 0.6911 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.3966, allocations: 119.8 kB / 0.6912 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.3967, allocations: 118.3 kB / 0.6913 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-05/0.3968, allocations: 185.2 kB / 0.6915 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-05/0.3969, allocations: 177.4 kB / 0.6916 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.167e-05/0.397, allocations: 185.3 kB / 0.6918 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.3973, allocations: 468.8 kB / 0.6923 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-05/0.3974, allocations: 102.5 kB / 0.6924 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.3974, allocations: 112.9 kB / 0.6925 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.048e-05/0.3975, allocations: 177.6 kB / 0.6926 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.551e-05/0.3976, allocations: 193.5 kB / 0.6928 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.36e-05/0.3976, allocations: 176.3 kB / 0.693 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-05/0.3977, allocations: 181.7 kB / 0.6932 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.3979, allocations: 330 kB / 0.6935 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.398, allocations: 209.3 kB / 0.6937 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.3982, allocations: 185.2 kB / 0.6939 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3983, allocations: 106.3 kB / 0.694 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.3984, allocations: 184.2 kB / 0.6941 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.3984, allocations: 106.2 kB / 0.6942 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002833/0.3987, allocations: 276.9 kB / 0.6945 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3987, allocations: 0 / 0.6945 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003939/0.3991, allocations: 85.03 kB / 0.6946 GB, free: 10.43 MB / 0.5137 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.0004073/0.3995, allocations: 307.7 kB / 0.6949 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.3997, allocations: 122.4 kB / 0.695 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3997, allocations: 448 / 0.695 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.3997, allocations: 4 kB / 0.695 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.4002, allocations: 463.5 kB / 0.6954 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/0.4009, allocations: 0.5262 MB / 0.6959 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.4013, allocations: 0.7721 MB / 0.6967 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.4013, allocations: 9.688 kB / 0.6967 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.4013, allocations: 0 / 0.6967 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of Templates: time 0.005391/0.4067, allocations: 3.159 MB / 0.6998 GB, free: 6.934 MB / 0.5137 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: 7.47010908019729] Failed to read output from testmodel.py, exit status != 0: 0.4144468849990517 0.42733811499999996 0.032575190000000004 Calling exit ...