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.001905/0.001905, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.002238/0.002238, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.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.086/1.086, allocations: 175.7 MB / 478.4 MB, free: 3.434 MB / 366.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.001936/0.001936, allocations: 68 kB / 0.6652 GB, free: 11.24 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1782, allocations: 94.54 MB / 0.7575 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002698/0.1809, allocations: 1.399 MB / 0.7589 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002832/0.1838, allocations: 1.939 MB / 0.7608 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.1838, allocations: 0 / 0.7608 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.1849, allocations: 390.4 kB / 0.7611 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.573e-05/0.185, allocations: 15.86 kB / 0.7611 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.907e-06/0.185, allocations: 7.938 kB / 0.7612 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000254/0.1852, allocations: 123.2 kB / 0.7613 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.1853, allocations: 17.5 kB / 0.7613 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.1853, allocations: 43.84 kB / 0.7613 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.1855, allocations: 63.66 kB / 0.7614 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1855, allocations: 4 kB / 0.7614 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/0.186, allocations: 183.9 kB / 0.7616 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.1861, allocations: 31.84 kB / 0.7616 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.812e-05/0.1862, allocations: 75.55 kB / 0.7617 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005535/0.1867, allocations: 295 kB / 0.762 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1867, allocations: 3.938 kB / 0.762 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1867, allocations: 0 / 0.762 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1867, allocations: 0 / 0.762 GB, free: 13.02 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.0007984/0.1875, allocations: 498.3 kB / 0.7624 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1876, allocations: 12.03 kB / 0.7624 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.1876, allocations: 110 kB / 0.7626 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.1878, allocations: 96.12 kB / 0.7626 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1881, allocations: 291.4 kB / 0.7629 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/0.1882, allocations: 154.9 kB / 0.7631 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.1882, allocations: 154.9 kB / 0.7632 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.086e-05/0.1883, allocations: 108.9 kB / 0.7633 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.1884, allocations: 75.28 kB / 0.7634 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.1885, allocations: 154.6 kB / 0.7635 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-05/0.1886, allocations: 150.6 kB / 0.7637 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.689e-05/0.1887, allocations: 154.6 kB / 0.7638 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.1891, allocations: 0.5094 MB / 0.7643 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.1892, allocations: 177.1 kB / 0.7645 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.1892, allocations: 80.14 kB / 0.7646 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.1893, allocations: 83.22 kB / 0.7647 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.1893, allocations: 105.8 kB / 0.7648 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1893, allocations: 0 / 0.7648 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001841/0.1895, allocations: 41.61 kB / 0.7648 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.1896, allocations: 138.7 kB / 0.7649 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.1899, allocations: 322.3 kB / 0.7652 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.19, allocations: 25.7 kB / 0.7653 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.1901, allocations: 120.4 kB / 0.7654 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-06/0.1901, allocations: 0 / 0.7654 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.1901, allocations: 61.69 kB / 0.7654 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1903, allocations: 330.8 kB / 0.7657 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.153e-05/0.1904, allocations: 63.97 kB / 0.7658 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1905, allocations: 114 kB / 0.7659 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.1908, allocations: 213.8 kB / 0.7661 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1908, allocations: 0 / 0.7661 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005215/0.1913, allocations: 237.3 kB / 0.7663 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1913, allocations: 13.97 kB / 0.7664 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1913, allocations: 7.922 kB / 0.7664 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1913, allocations: 4 kB / 0.7664 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-06/0.1913, allocations: 0 / 0.7664 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.1914, allocations: 11.92 kB / 0.7664 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.1915, allocations: 31.73 kB / 0.7664 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1915, allocations: 4 kB / 0.7664 GB, free: 8.164 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.0002449/0.1917, allocations: 233.2 kB / 0.7666 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.226e-05/0.1918, allocations: 120.8 kB / 0.7668 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.1919, allocations: 113.6 kB / 0.7669 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.332e-05/0.192, allocations: 180.3 kB / 0.767 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-05/0.1921, allocations: 188.2 kB / 0.7672 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.208e-05/0.1922, allocations: 180.3 kB / 0.7674 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.1925, allocations: 449.2 kB / 0.7678 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.944e-05/0.1926, allocations: 116.8 kB / 0.7679 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.1926, allocations: 101 kB / 0.768 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.204e-05/0.1927, allocations: 180.2 kB / 0.7682 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.1928, allocations: 176.3 kB / 0.7684 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001396/0.1929, allocations: 184.3 kB / 0.7685 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-05/0.193, allocations: 188.2 kB / 0.7687 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.1932, allocations: 315.6 kB / 0.769 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.1933, allocations: 197.9 kB / 0.7692 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.1934, allocations: 184.3 kB / 0.7694 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1936, allocations: 108.9 kB / 0.7695 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/0.1937, allocations: 176.3 kB / 0.7697 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.1937, allocations: 105.2 kB / 0.7698 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002245/0.1939, allocations: 217.9 kB / 0.77 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1939, allocations: 0 / 0.77 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003611/0.1943, allocations: 63.94 kB / 0.77 GB, free: 4.238 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.0007043/0.195, allocations: 0.9257 MB / 0.7709 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1952, allocations: 91.88 kB / 0.771 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1952, allocations: 0 / 0.771 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.472e-06/0.1952, allocations: 7.938 kB / 0.771 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.1956, allocations: 461.9 kB / 0.7715 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.1983, allocations: 2.453 MB / 0.7739 GB, free: 164 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.1987, allocations: 0.7392 MB / 0.7746 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.584e-05/0.1987, allocations: 8 kB / 0.7746 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.1988, allocations: 31.42 kB / 0.7746 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.1988, allocations: 0 / 0.7746 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.2269, allocations: 4.859 MB / 0.7794 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.5, allocations: 13.16 kB / 0.7794 GB, free: 10.61 MB / 0.5919 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.486026369035244] Failed to read output from testmodel.py, exit status != 0: 8.570389383006841 8.594465983 8.402884741 Calling exit ...