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.001412/0.001412, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001584/0.001584, allocations: 218 kB / 23 MB, free: 5.004 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 1.051/1.051, allocations: 150 MB / 463.1 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 178] 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: IBPSA 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.002166/0.002166, allocations: 74.83 kB / 0.6417 GB, free: 9.906 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2104, allocations: 89.17 MB / 0.7288 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002716/0.2131, allocations: 1.446 MB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00343/0.2165, allocations: 2.705 MB / 0.7328 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.2166, allocations: 7.938 kB / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.2181, allocations: 0.5828 MB / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.421e-05/0.2181, allocations: 31.83 kB / 0.7335 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/0.2181, allocations: 0 / 0.7335 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.2184, allocations: 155 kB / 0.7336 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.2184, allocations: 12.59 kB / 0.7336 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.902e-05/0.2185, allocations: 59.72 kB / 0.7337 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.2187, allocations: 79.58 kB / 0.7337 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.2187, allocations: 4 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.2198, allocations: 475.3 kB / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.2198, allocations: 39.77 kB / 0.7342 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.2199, allocations: 91.42 kB / 0.7343 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006625/0.2206, allocations: 449.9 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2206, allocations: 0 / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2206, allocations: 4 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.2206, allocations: 3.938 kB / 0.7348 GB, free: 10.66 MB / 0.5606 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.0008081/0.2214, allocations: 492.7 kB / 0.7352 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2214, allocations: 8.031 kB / 0.7352 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.2216, allocations: 108 kB / 0.7353 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.2219, allocations: 244.5 kB / 0.7356 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.816e-05/0.2219, allocations: 158.9 kB / 0.7357 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.222, allocations: 158.9 kB / 0.7359 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.795e-05/0.2221, allocations: 101.5 kB / 0.736 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/0.2221, allocations: 75.47 kB / 0.7361 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/0.2222, allocations: 158.5 kB / 0.7362 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/0.2222, allocations: 150.6 kB / 0.7363 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.718e-05/0.2223, allocations: 158.5 kB / 0.7365 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.2227, allocations: 0.5046 MB / 0.737 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.2228, allocations: 165.1 kB / 0.7371 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.2229, allocations: 80.14 kB / 0.7372 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.2229, allocations: 79.28 kB / 0.7373 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.8e-05/0.223, allocations: 113.8 kB / 0.7374 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.223, allocations: 0 / 0.7374 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001833/0.2231, allocations: 61.45 kB / 0.7375 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.2232, allocations: 130.7 kB / 0.7376 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.2237, allocations: 433.3 kB / 0.738 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.2237, allocations: 25.7 kB / 0.738 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2238, allocations: 132.6 kB / 0.7382 GB, free: 7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.2238, allocations: 0 / 0.7382 GB, free: 7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/0.2239, allocations: 89.67 kB / 0.7382 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2241, allocations: 338.8 kB / 0.7386 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.2242, allocations: 100.6 kB / 0.7387 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.2244, allocations: 169.8 kB / 0.7388 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.2247, allocations: 301.6 kB / 0.7391 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2247, allocations: 0 / 0.7391 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000543/0.2253, allocations: 340.9 kB / 0.7394 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2253, allocations: 6.031 kB / 0.7394 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2253, allocations: 7.938 kB / 0.7394 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2253, allocations: 224 / 0.7394 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.597e-06/0.2253, allocations: 8 kB / 0.7395 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2253, allocations: 0 / 0.7395 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2255, allocations: 47.52 kB / 0.7395 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.2255, allocations: 8 kB / 0.7395 GB, free: 5.555 MB / 0.5606 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.0002752/0.2257, allocations: 241 kB / 0.7397 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.435e-05/0.2258, allocations: 132.8 kB / 0.7399 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-05/0.2259, allocations: 118.8 kB / 0.74 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.105e-05/0.226, allocations: 180.2 kB / 0.7402 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.76e-05/0.2261, allocations: 180.3 kB / 0.7403 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.851e-05/0.2262, allocations: 184.2 kB / 0.7405 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.2266, allocations: 444.2 kB / 0.7409 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.409e-05/0.2266, allocations: 101.1 kB / 0.741 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.2267, allocations: 113 kB / 0.7411 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.87e-05/0.2268, allocations: 188.3 kB / 0.7413 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.31e-05/0.2269, allocations: 188.1 kB / 0.7415 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001455/0.227, allocations: 176.3 kB / 0.7417 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-05/0.2271, allocations: 184.2 kB / 0.7418 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.2273, allocations: 323.7 kB / 0.7421 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.584e-05/0.2274, allocations: 132.7 kB / 0.7423 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.2275, allocations: 180.2 kB / 0.7424 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.2277, allocations: 101 kB / 0.7425 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/0.2277, allocations: 188.2 kB / 0.7427 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.2279, allocations: 109 kB / 0.7428 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003015/0.2282, allocations: 275.1 kB / 0.7431 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2282, allocations: 0 / 0.7431 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004873/0.2286, allocations: 83.92 kB / 0.7432 GB, free: 1.617 MB / 0.5606 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.0004448/0.2291, allocations: 306.2 kB / 0.7435 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.2293, allocations: 123.8 kB / 0.7436 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2293, allocations: 448 / 0.7436 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.2293, allocations: 7.938 kB / 0.7436 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.2298, allocations: 465.1 kB / 0.744 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00071/0.2305, allocations: 0.5026 MB / 0.7445 GB, free: 196 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.2311, allocations: 0.7782 MB / 0.7453 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.723e-05/0.2311, allocations: 4 kB / 0.7453 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.2311, allocations: 7.438 kB / 0.7453 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.2311, allocations: 0 / 0.7453 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of Templates: time 0.007765/0.2389, allocations: 3.093 MB / 0.7483 GB, free: 12.3 MB / 0.5762 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: 6.616243768017739] Failed to read output from testmodel.py, exit status != 0: 0.2480176016688347 0.6231192590000001 0.037751218 Calling exit ...