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.001262/0.001262, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001318/0.001318, allocations: 215.7 kB / 23.78 MB, free: 4.555 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.436/1.436, allocations: 230.6 MB / 257.6 MB, free: 7.738 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.001/1.001, allocations: 150 MB / 463.9 MB, free: 10.2 MB / 366.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: "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) [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.002036/0.002036, allocations: 67.98 kB / 0.6419 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.175, allocations: 89.17 MB / 0.729 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002581/0.1776, allocations: 1.409 MB / 0.7304 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.1809, allocations: 2.406 MB / 0.7327 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.1809, allocations: 4 kB / 0.7328 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.1824, allocations: 0.5394 MB / 0.7333 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.1824, allocations: 27.84 kB / 0.7333 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.518e-06/0.1824, allocations: 0 / 0.7333 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.1827, allocations: 155 kB / 0.7335 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.83e-05/0.1827, allocations: 16.58 kB / 0.7335 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.1828, allocations: 59.72 kB / 0.7335 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1829, allocations: 79.58 kB / 0.7336 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.183, allocations: 4 kB / 0.7336 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009327/0.1839, allocations: 411.5 kB / 0.734 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.1839, allocations: 35.78 kB / 0.734 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.184, allocations: 83.53 kB / 0.7341 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006556/0.1847, allocations: 434 kB / 0.7345 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1847, allocations: 0 / 0.7345 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.941e-06/0.1847, allocations: 8 kB / 0.7345 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1847, allocations: 0 / 0.7345 GB, free: 11.15 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.0007974/0.1855, allocations: 492.7 kB / 0.735 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1856, allocations: 12.03 kB / 0.735 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.177e-05/0.1856, allocations: 79.47 kB / 0.7351 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.499e-05/0.1856, allocations: 106 kB / 0.7352 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.1858, allocations: 104 kB / 0.7353 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1861, allocations: 252.5 kB / 0.7355 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.63e-05/0.1861, allocations: 150.9 kB / 0.7357 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.332e-05/0.1862, allocations: 162.9 kB / 0.7358 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.409e-05/0.1863, allocations: 109.2 kB / 0.7359 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.1863, allocations: 79.28 kB / 0.736 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.1864, allocations: 150.6 kB / 0.7362 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/0.1864, allocations: 150.6 kB / 0.7363 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.254e-05/0.1865, allocations: 150.6 kB / 0.7364 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.1869, allocations: 0.5007 MB / 0.7369 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.207e-05/0.187, allocations: 173.1 kB / 0.7371 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.187, allocations: 84.12 kB / 0.7372 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.1871, allocations: 79.22 kB / 0.7373 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/0.1871, allocations: 113.8 kB / 0.7374 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1871, allocations: 0 / 0.7374 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001801/0.1873, allocations: 53.52 kB / 0.7374 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.1874, allocations: 134.7 kB / 0.7375 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/0.1879, allocations: 437.2 kB / 0.738 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1879, allocations: 25.7 kB / 0.738 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.188, allocations: 132.6 kB / 0.7381 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.188, allocations: 0 / 0.7381 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.1881, allocations: 89.66 kB / 0.7382 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1883, allocations: 342.8 kB / 0.7385 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1884, allocations: 96.59 kB / 0.7386 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1886, allocations: 169.9 kB / 0.7388 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.1889, allocations: 309.6 kB / 0.7391 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1889, allocations: 3.938 kB / 0.7391 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005339/0.1895, allocations: 325.1 kB / 0.7394 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1895, allocations: 7.938 kB / 0.7394 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1895, allocations: 0 / 0.7394 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1895, allocations: 4 kB / 0.7394 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-06/0.1895, allocations: 3.984 kB / 0.7394 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1895, allocations: 7.938 kB / 0.7394 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.1897, allocations: 47.45 kB / 0.7395 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1897, allocations: 4.219 kB / 0.7395 GB, free: 5.848 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.0002505/0.1899, allocations: 247 kB / 0.7397 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.023e-05/0.19, allocations: 128.7 kB / 0.7398 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.924e-05/0.1901, allocations: 126.8 kB / 0.7399 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.462e-05/0.1902, allocations: 176.3 kB / 0.7401 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.782e-05/0.1902, allocations: 184.2 kB / 0.7403 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.208e-05/0.1903, allocations: 176.3 kB / 0.7404 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.1906, allocations: 444.2 kB / 0.7409 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.827e-05/0.1907, allocations: 109.1 kB / 0.741 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.1907, allocations: 109 kB / 0.7411 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.974e-05/0.1908, allocations: 188.1 kB / 0.7413 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.1909, allocations: 180.3 kB / 0.7414 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.687e-05/0.191, allocations: 184.2 kB / 0.7416 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.371e-05/0.191, allocations: 180.2 kB / 0.7418 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.1912, allocations: 327.6 kB / 0.7421 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.1913, allocations: 132.7 kB / 0.7422 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.1914, allocations: 176.3 kB / 0.7424 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.1916, allocations: 108.9 kB / 0.7425 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.1917, allocations: 180.2 kB / 0.7427 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/0.1917, allocations: 104.9 kB / 0.7428 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002945/0.192, allocations: 287.1 kB / 0.743 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.192, allocations: 0 / 0.743 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004251/0.1924, allocations: 79.94 kB / 0.7431 GB, free: 1.906 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.0007453/0.1932, allocations: 0.9671 MB / 0.7441 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.1934, allocations: 123.8 kB / 0.7442 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1934, allocations: 3.938 kB / 0.7442 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.1934, allocations: 0 / 0.7442 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.1938, allocations: 469.1 kB / 0.7446 GB, free: 336 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.1973, allocations: 2.93 MB / 0.7475 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.1974, allocations: 164.1 kB / 0.7476 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.062e-05/0.1974, allocations: 4 kB / 0.7476 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.1975, allocations: 59.34 kB / 0.7477 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.1975, allocations: 4 kB / 0.7477 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.2261, allocations: 6.664 MB / 0.7542 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.22, allocations: 6.469 kB / 0.7542 GB, free: 6.52 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.353709226008505] Failed to read output from testmodel.py, exit status != 0: 12.391634801053442 12.752513478 12.565034006 Calling exit ...