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.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.00185/0.00185, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001866/0.001866, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.474/1.474, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8436/0.8436, allocations: 129.2 MB / 432.5 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 0.5987 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5034, allocations: 83.44 MB / 0.6802 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002163/0.5056, allocations: 1.422 MB / 0.6815 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003006/0.5086, allocations: 2.681 MB / 0.6842 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.5086, allocations: 1.031 kB / 0.6842 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.5101, allocations: 0.5885 MB / 0.6847 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.643e-05/0.5102, allocations: 20.38 kB / 0.6848 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.448e-06/0.5102, allocations: 0 / 0.6848 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.5104, allocations: 157.6 kB / 0.6849 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.403e-05/0.5105, allocations: 29.86 kB / 0.6849 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/0.5106, allocations: 64.16 kB / 0.685 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.5107, allocations: 78.75 kB / 0.6851 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.5107, allocations: 6.578 kB / 0.6851 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000949/0.5117, allocations: 471 kB / 0.6855 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.5117, allocations: 40.12 kB / 0.6856 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.626e-05/0.5118, allocations: 97.97 kB / 0.6857 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006005/0.5124, allocations: 439.2 kB / 0.6861 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5124, allocations: 0 / 0.6861 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5124, allocations: 0 / 0.6861 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.5124, allocations: 1.125 kB / 0.6861 GB, free: 1.648 MB / 0.4981 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.0007499/0.5132, allocations: 0.5582 MB / 0.6866 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.5132, allocations: 13.75 kB / 0.6866 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.5133, allocations: 110 kB / 0.6867 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.5134, allocations: 103.9 kB / 0.6868 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.5136, allocations: 300.6 kB / 0.6871 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.5136, allocations: 152.2 kB / 0.6873 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.5137, allocations: 157.5 kB / 0.6874 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.779e-05/0.5137, allocations: 107.2 kB / 0.6875 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.5137, allocations: 83.22 kB / 0.6876 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.5138, allocations: 154.6 kB / 0.6878 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.364e-05/0.5138, allocations: 150.6 kB / 0.6879 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.939e-05/0.5139, allocations: 152.1 kB / 0.688 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.5143, allocations: 0.5302 MB / 0.6886 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.5145, allocations: 178.4 kB / 0.6887 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.5145, allocations: 81.33 kB / 0.6888 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.749e-05/0.5146, allocations: 75.28 kB / 0.6889 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/0.5146, allocations: 106.9 kB / 0.689 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.5146, allocations: 4 kB / 0.689 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 0.0001919/0.5148, allocations: 66.25 kB / 0.6891 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.5149, allocations: 126.7 kB / 0.6892 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.5154, allocations: 431.3 kB / 0.6896 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.5154, allocations: 31.2 kB / 0.6896 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.5155, allocations: 133.7 kB / 0.6897 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.5155, allocations: 0 / 0.6897 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.5156, allocations: 92.12 kB / 0.6898 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002644/0.5159, allocations: 343.3 kB / 0.6902 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.516, allocations: 99.62 kB / 0.6903 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.5162, allocations: 159.2 kB / 0.6904 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.5166, allocations: 308.6 kB / 0.6907 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5166, allocations: 1.125 kB / 0.6907 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00055/0.5171, allocations: 332.5 kB / 0.691 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5171, allocations: 9.844 kB / 0.691 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5171, allocations: 1.188 kB / 0.691 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.5172, allocations: 2.312 kB / 0.691 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-06/0.5172, allocations: 6.094 kB / 0.691 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5172, allocations: 2.281 kB / 0.691 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.5173, allocations: 48.06 kB / 0.6911 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.5173, allocations: 4.906 kB / 0.6911 GB, free: 13.06 MB / 0.5137 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.0002735/0.5176, allocations: 246.6 kB / 0.6913 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/0.5177, allocations: 132.7 kB / 0.6914 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.016e-05/0.5178, allocations: 114.5 kB / 0.6916 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.528e-05/0.5178, allocations: 181.5 kB / 0.6917 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.147e-05/0.5179, allocations: 184.2 kB / 0.6919 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-05/0.518, allocations: 177.4 kB / 0.6921 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.5184, allocations: 477 kB / 0.6925 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-05/0.5184, allocations: 102.1 kB / 0.6926 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.5185, allocations: 102.1 kB / 0.6927 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-05/0.5185, allocations: 189.3 kB / 0.6929 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.703e-05/0.5186, allocations: 181.5 kB / 0.6931 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.588e-05/0.5187, allocations: 188.2 kB / 0.6933 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-05/0.5188, allocations: 177.4 kB / 0.6934 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.5189, allocations: 322 kB / 0.6937 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.5191, allocations: 213.3 kB / 0.6939 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.5192, allocations: 189.2 kB / 0.6941 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.5193, allocations: 110.1 kB / 0.6942 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/0.5194, allocations: 181.2 kB / 0.6944 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.5195, allocations: 106.1 kB / 0.6945 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000285/0.5198, allocations: 280.8 kB / 0.6948 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5198, allocations: 7.938 kB / 0.6948 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004508/0.5202, allocations: 81.28 kB / 0.6948 GB, free: 9.254 MB / 0.5137 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.0008032/0.521, allocations: 0.9622 MB / 0.6958 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.5212, allocations: 117.7 kB / 0.6959 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5212, allocations: 448 / 0.6959 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.5213, allocations: 5.031 kB / 0.6959 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.5217, allocations: 463.1 kB / 0.6963 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.5251, allocations: 2.94 MB / 0.6992 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.5256, allocations: 0.7745 MB / 0.7 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.5256, allocations: 6.547 kB / 0.7 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.5257, allocations: 49.77 kB / 0.7 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.5257, allocations: 0 / 0.7 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.5598, allocations: 6.464 MB / 0.7063 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/8.969, allocations: 9.031 kB / 0.7064 GB, free: 1.672 MB / 0.5137 GB " [Timeout remaining time 651] (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: 12.401846347376704] Failed to read output from testmodel.py, exit status != 0: 9.041726732626557 9.062039772 8.545779645 Calling exit ...