Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001237/0.001237, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001387/0.001387, allocations: 221.6 kB / 23.03 MB, free: 4.945 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002542/0.002542, allocations: 279.1 kB / 313.5 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.196/1.196, allocations: 180.6 MB / 0.5377 GB, free: 14.58 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002801/0.002801, allocations: 94.55 kB / 0.7402 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1744, allocations: 95.39 MB / 0.8334 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00258/0.177, allocations: 1.43 MB / 0.8348 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003202/0.1802, allocations: 2.403 MB / 0.8371 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.1802, allocations: 0 / 0.8371 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.1816, allocations: 0.5365 MB / 0.8377 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.442e-05/0.1817, allocations: 19.89 kB / 0.8377 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.087e-06/0.1817, allocations: 4 kB / 0.8377 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.182, allocations: 162.9 kB / 0.8378 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.182, allocations: 8.594 kB / 0.8378 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.1821, allocations: 67.72 kB / 0.8379 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1822, allocations: 79.53 kB / 0.838 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.1822, allocations: 0 / 0.838 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008297/0.1831, allocations: 415.5 kB / 0.8384 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.1831, allocations: 35.83 kB / 0.8384 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.284e-05/0.1832, allocations: 75.56 kB / 0.8385 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006236/0.1838, allocations: 446 kB / 0.8389 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1838, allocations: 0 / 0.8389 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1838, allocations: 0 / 0.8389 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1838, allocations: 4 kB / 0.8389 GB, free: 2.691 MB / 0.5762 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.000742/0.1846, allocations: 492.7 kB / 0.8394 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1846, allocations: 9.344 kB / 0.8394 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.871e-05/0.1847, allocations: 75.47 kB / 0.8395 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.74e-05/0.1847, allocations: 114 kB / 0.8396 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.1849, allocations: 108 kB / 0.8397 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1851, allocations: 248.5 kB / 0.8399 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.387e-05/0.1852, allocations: 158.9 kB / 0.8401 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.335e-05/0.1853, allocations: 154.9 kB / 0.8402 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.411e-05/0.1854, allocations: 109.3 kB / 0.8403 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.1854, allocations: 75.28 kB / 0.8404 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/0.1855, allocations: 150.6 kB / 0.8405 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.615e-05/0.1855, allocations: 150.6 kB / 0.8407 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.165e-05/0.1856, allocations: 154.6 kB / 0.8408 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.186, allocations: 0.5084 MB / 0.8413 GB, free: 104 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.1861, allocations: 165.1 kB / 0.8415 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.1861, allocations: 84.19 kB / 0.8416 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.1862, allocations: 79.28 kB / 0.8416 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/0.1862, allocations: 113.8 kB / 0.8417 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1862, allocations: 4 kB / 0.8417 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001856/0.1864, allocations: 61.44 kB / 0.8418 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.1865, allocations: 126.7 kB / 0.8419 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.1869, allocations: 433.3 kB / 0.8423 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1869, allocations: 25.7 kB / 0.8424 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.08e-05/0.187, allocations: 128.6 kB / 0.8425 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-06/0.187, allocations: 7.984 kB / 0.8425 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-05/0.1871, allocations: 93.66 kB / 0.8426 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1873, allocations: 338.8 kB / 0.8429 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.1874, allocations: 96.59 kB / 0.843 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.1876, allocations: 169.8 kB / 0.8432 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.1879, allocations: 313.6 kB / 0.8435 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1879, allocations: 0 / 0.8435 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005175/0.1884, allocations: 329 kB / 0.8438 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1884, allocations: 7.938 kB / 0.8438 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1884, allocations: 4 kB / 0.8438 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1885, allocations: 0 / 0.8438 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.1885, allocations: 4 kB / 0.8438 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1885, allocations: 4 kB / 0.8438 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1886, allocations: 51.5 kB / 0.8438 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1886, allocations: 4 kB / 0.8438 GB, free: 13.39 MB / 0.5919 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.0002412/0.1889, allocations: 250.2 kB / 0.8441 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/0.189, allocations: 128.7 kB / 0.8442 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.95e-05/0.189, allocations: 114.7 kB / 0.8443 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.602e-05/0.1891, allocations: 188.2 kB / 0.8445 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.359e-05/0.1892, allocations: 180.3 kB / 0.8447 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.279e-05/0.1893, allocations: 180.3 kB / 0.8448 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.1896, allocations: 444.2 kB / 0.8453 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.767e-05/0.1896, allocations: 109 kB / 0.8454 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.1896, allocations: 104.9 kB / 0.8455 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.871e-05/0.1897, allocations: 188.2 kB / 0.8456 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.1898, allocations: 176.3 kB / 0.8458 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.611e-05/0.1899, allocations: 180.4 kB / 0.846 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.206e-05/0.1899, allocations: 184.2 kB / 0.8462 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.1901, allocations: 331.6 kB / 0.8465 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.775e-05/0.1902, allocations: 132.7 kB / 0.8466 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.1903, allocations: 184.2 kB / 0.8468 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.1905, allocations: 105 kB / 0.8469 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.1905, allocations: 180.2 kB / 0.847 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/0.1906, allocations: 105 kB / 0.8471 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002895/0.1909, allocations: 275.1 kB / 0.8474 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1909, allocations: 4 kB / 0.8474 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004272/0.1913, allocations: 83.92 kB / 0.8475 GB, free: 9.453 MB / 0.5919 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.0007432/0.1921, allocations: 0.9644 MB / 0.8484 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1923, allocations: 119.9 kB / 0.8485 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.1923, allocations: 0 / 0.8485 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.1923, allocations: 0 / 0.8485 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.1927, allocations: 465.6 kB / 0.849 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.1961, allocations: 2.949 MB / 0.8519 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.1963, allocations: 164.1 kB / 0.852 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.1963, allocations: 4 kB / 0.852 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.1964, allocations: 51.42 kB / 0.8521 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.1964, allocations: 0 / 0.8521 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.2252, allocations: 6.686 MB / 0.8586 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.66, allocations: 15.61 kB / 0.8586 GB, free: 14.05 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.849284712108783] Failed to read output from testmodel.py, exit status != 0: 11.832411782001145 11.859736197 11.671120165 Calling exit ...