Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001292/0.001292, 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.001337/0.001337, 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.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 3.73 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.122/1.122, allocations: 175.7 MB / 478.4 MB, free: 3.418 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_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 70.98 kB / 0.6652 GB, free: 11.14 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1824, allocations: 94.54 MB / 0.7575 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002662/0.1851, allocations: 1.418 MB / 0.7589 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003562/0.1887, allocations: 2.678 MB / 0.7615 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.1887, allocations: 0 / 0.7615 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.1902, allocations: 0.5899 MB / 0.7621 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.1903, allocations: 15.91 kB / 0.7621 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 6.111e-06/0.1903, allocations: 4 kB / 0.7621 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.1905, allocations: 154.9 kB / 0.7622 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.934e-05/0.1906, allocations: 32.34 kB / 0.7623 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.146e-05/0.1907, allocations: 63.66 kB / 0.7623 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1908, allocations: 79.58 kB / 0.7624 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1908, allocations: 0 / 0.7624 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.1919, allocations: 467.3 kB / 0.7629 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.192, allocations: 39.77 kB / 0.7629 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1921, allocations: 107.4 kB / 0.763 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006482/0.1927, allocations: 438.1 kB / 0.7634 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1927, allocations: 0 / 0.7634 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1927, allocations: 0 / 0.7634 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.1928, allocations: 4 kB / 0.7634 GB, free: 11.5 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.0008972/0.1937, allocations: 0.5525 MB / 0.764 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1937, allocations: 8.031 kB / 0.764 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.355e-05/0.1938, allocations: 106 kB / 0.7641 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.1939, allocations: 108 kB / 0.7642 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.1942, allocations: 306.4 kB / 0.7645 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-05/0.1943, allocations: 158.9 kB / 0.7646 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.524e-05/0.1944, allocations: 158.9 kB / 0.7648 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.637e-05/0.1945, allocations: 105.5 kB / 0.7649 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.1945, allocations: 79.22 kB / 0.7649 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/0.1946, allocations: 154.6 kB / 0.7651 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.776e-05/0.1947, allocations: 150.6 kB / 0.7652 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.1948, allocations: 154.6 kB / 0.7654 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.1953, allocations: 0.5328 MB / 0.7659 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.1954, allocations: 177.1 kB / 0.7661 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.1954, allocations: 80.14 kB / 0.7662 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.1955, allocations: 75.28 kB / 0.7662 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.766e-05/0.1955, allocations: 113.8 kB / 0.7663 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1955, allocations: 0 / 0.7663 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0002006/0.1957, allocations: 61.38 kB / 0.7664 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.1958, allocations: 130.7 kB / 0.7665 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.1963, allocations: 433.3 kB / 0.7669 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1963, allocations: 25.7 kB / 0.767 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1964, allocations: 128.6 kB / 0.7671 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.1964, allocations: 0 / 0.7671 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.1965, allocations: 97.66 kB / 0.7672 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1967, allocations: 338.8 kB / 0.7675 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1969, allocations: 96.5 kB / 0.7676 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.197, allocations: 169.3 kB / 0.7677 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.1974, allocations: 305.6 kB / 0.768 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1974, allocations: 0 / 0.768 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005568/0.198, allocations: 325.2 kB / 0.7683 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.198, allocations: 15.97 kB / 0.7684 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.198, allocations: 0 / 0.7684 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.198, allocations: 4 kB / 0.7684 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-06/0.198, allocations: 3.938 kB / 0.7684 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.198, allocations: 7.984 kB / 0.7684 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1982, allocations: 47.52 kB / 0.7684 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1982, allocations: 4 kB / 0.7684 GB, free: 6.078 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.0003041/0.1985, allocations: 245.1 kB / 0.7687 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.1986, allocations: 128.7 kB / 0.7688 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.861e-05/0.1987, allocations: 115 kB / 0.7689 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.203e-05/0.1988, allocations: 180.3 kB / 0.7691 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.159e-05/0.1989, allocations: 180.2 kB / 0.7692 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.429e-05/0.1989, allocations: 180.3 kB / 0.7694 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.1993, allocations: 481.1 kB / 0.7699 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-05/0.1994, allocations: 105 kB / 0.77 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.1995, allocations: 105 kB / 0.7701 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.798e-05/0.1995, allocations: 188.2 kB / 0.7702 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-05/0.1996, allocations: 180.3 kB / 0.7704 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.672e-05/0.1997, allocations: 180.2 kB / 0.7706 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.54e-05/0.1998, allocations: 180.6 kB / 0.7708 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.2, allocations: 335.6 kB / 0.7711 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.2001, allocations: 201.9 kB / 0.7713 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.2003, allocations: 188.1 kB / 0.7715 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2004, allocations: 108.9 kB / 0.7716 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/0.2005, allocations: 188.2 kB / 0.7717 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.2005, allocations: 101 kB / 0.7718 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003628/0.2009, allocations: 275.1 kB / 0.7721 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2009, allocations: 0 / 0.7721 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004228/0.2013, allocations: 87.86 kB / 0.7722 GB, free: 2.008 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.0007708/0.2021, allocations: 0.9684 MB / 0.7731 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.2023, allocations: 115.9 kB / 0.7732 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2023, allocations: 0 / 0.7732 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.2023, allocations: 4 kB / 0.7732 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.2028, allocations: 467.1 kB / 0.7737 GB, free: 444 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.2061, allocations: 2.944 MB / 0.7766 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.2065, allocations: 0.7743 MB / 0.7773 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.863e-05/0.2065, allocations: 7.906 kB / 0.7773 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/0.2066, allocations: 51.42 kB / 0.7774 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.2066, allocations: 0 / 0.7774 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.2369, allocations: 6.465 MB / 0.7837 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/8.801, allocations: 10.23 kB / 0.7837 GB, free: 6.148 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.689756689127535] Failed to read output from testmodel.py, exit status != 0: 8.873007559217513 8.891123107 8.694752835 Calling exit ...