Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001746/0.001746, allocations: 113 kB / 16.41 MB, free: 6.484 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.001994/0.001994, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.511/1.511, allocations: 222.9 MB / 245 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.104/1.104, allocations: 173.4 MB / 470.7 MB, free: 13.62 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 64.8 kB / 0.6478 GB, free: 11.77 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1758, allocations: 89.52 MB / 0.7352 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002611/0.1784, allocations: 1.393 MB / 0.7366 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00251/0.1809, allocations: 1.931 MB / 0.7385 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.181, allocations: 4 kB / 0.7385 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009963/0.182, allocations: 389.9 kB / 0.7389 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.1821, allocations: 15.92 kB / 0.7389 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.857e-06/0.1821, allocations: 0 / 0.7389 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.1823, allocations: 127.1 kB / 0.739 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.705e-05/0.1824, allocations: 21.48 kB / 0.739 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.1824, allocations: 47.78 kB / 0.7391 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1826, allocations: 59.7 kB / 0.7391 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1826, allocations: 4 kB / 0.7391 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005158/0.1831, allocations: 191.9 kB / 0.7393 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.1832, allocations: 27.84 kB / 0.7393 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.386e-05/0.1833, allocations: 71.61 kB / 0.7394 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.1837, allocations: 291 kB / 0.7397 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1838, allocations: 0 / 0.7397 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1838, allocations: 0 / 0.7397 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.1838, allocations: 0 / 0.7397 GB, free: 13.68 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.0007388/0.1845, allocations: 0.4944 MB / 0.7402 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1846, allocations: 12.02 kB / 0.7402 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.074e-05/0.1847, allocations: 106 kB / 0.7403 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.1848, allocations: 96.12 kB / 0.7404 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1851, allocations: 287.4 kB / 0.7406 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.254e-05/0.1852, allocations: 154.9 kB / 0.7408 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.5e-05/0.1853, allocations: 158.9 kB / 0.7409 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.014e-05/0.1854, allocations: 112.9 kB / 0.741 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.1854, allocations: 75.28 kB / 0.7411 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.1855, allocations: 150.6 kB / 0.7413 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.447e-05/0.1856, allocations: 154.6 kB / 0.7414 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.981e-05/0.1857, allocations: 150.6 kB / 0.7416 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.1861, allocations: 0.5133 MB / 0.7421 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.777e-05/0.1862, allocations: 169.1 kB / 0.7422 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.1863, allocations: 80.14 kB / 0.7423 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.1863, allocations: 79.22 kB / 0.7424 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.044e-05/0.1864, allocations: 109.8 kB / 0.7425 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1864, allocations: 0 / 0.7425 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001937/0.1866, allocations: 57.48 kB / 0.7425 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.1867, allocations: 130.7 kB / 0.7427 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.1871, allocations: 314.4 kB / 0.743 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1871, allocations: 29.7 kB / 0.743 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.1872, allocations: 120.4 kB / 0.7431 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.1872, allocations: 0 / 0.7431 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.1873, allocations: 69.69 kB / 0.7432 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1875, allocations: 334.8 kB / 0.7435 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.1876, allocations: 63.97 kB / 0.7435 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.1877, allocations: 114 kB / 0.7437 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.188, allocations: 217.8 kB / 0.7439 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.188, allocations: 0 / 0.7439 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004603/0.1885, allocations: 233.3 kB / 0.7441 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1885, allocations: 4 kB / 0.7441 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1885, allocations: 4 kB / 0.7441 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1885, allocations: 0 / 0.7441 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-06/0.1885, allocations: 7.938 kB / 0.7441 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1886, allocations: 3.984 kB / 0.7441 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.1887, allocations: 31.95 kB / 0.7441 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1887, allocations: 4 kB / 0.7441 GB, free: 8.824 MB / 0.5762 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.0002454/0.189, allocations: 228.3 kB / 0.7444 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-05/0.1891, allocations: 124.8 kB / 0.7445 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/0.1891, allocations: 117.6 kB / 0.7446 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.831e-05/0.1892, allocations: 180.3 kB / 0.7448 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.482e-05/0.1893, allocations: 188.2 kB / 0.7449 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-05/0.1894, allocations: 184.2 kB / 0.7451 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.1898, allocations: 457.1 kB / 0.7455 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-05/0.1898, allocations: 104.9 kB / 0.7456 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.1899, allocations: 101 kB / 0.7457 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.327e-05/0.19, allocations: 188.2 kB / 0.7459 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-05/0.1901, allocations: 180.3 kB / 0.7461 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.505e-05/0.1902, allocations: 180.2 kB / 0.7463 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.148e-05/0.1903, allocations: 180.2 kB / 0.7464 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.1904, allocations: 323.9 kB / 0.7467 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1906, allocations: 205.9 kB / 0.7469 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.1907, allocations: 184.2 kB / 0.7471 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.1908, allocations: 101 kB / 0.7472 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.1909, allocations: 180.3 kB / 0.7474 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.159e-05/0.191, allocations: 104.9 kB / 0.7475 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002363/0.1912, allocations: 221.9 kB / 0.7477 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1913, allocations: 0 / 0.7477 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003479/0.1916, allocations: 59.94 kB / 0.7478 GB, free: 4.887 MB / 0.5762 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.0006929/0.1923, allocations: 0.9255 MB / 0.7487 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.1925, allocations: 103.8 kB / 0.7488 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1925, allocations: 0 / 0.7488 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.1925, allocations: 4 kB / 0.7488 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.193, allocations: 460.7 kB / 0.7492 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.1957, allocations: 2.439 MB / 0.7516 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.1961, allocations: 0.7432 MB / 0.7523 GB, free: 48 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.316e-05/0.1961, allocations: 0 / 0.7523 GB, free: 48 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.1962, allocations: 35.42 kB / 0.7523 GB, free: 16 kB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.1962, allocations: 0 / 0.7523 GB, free: 16 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.344/0.5402, allocations: 4.842 MB / 0.7571 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.754, allocations: 13.78 kB / 0.7571 GB, free: 18.6 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.603565172292292] Failed to read output from testmodel.py, exit status != 0: 8.822342683095485 8.834461073 8.648122301 Calling exit ...