Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001253/0.001253, allocations: 116.2 kB / 17.13 MB, free: 5.777 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.001291/0.001291, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.465/1.465, allocations: 225.6 MB / 248.5 MB, free: 3.652 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.8795/0.8795, allocations: 129.2 MB / 432.5 MB, free: 13.15 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_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 79.81 kB / 0.5987 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4613, allocations: 83.43 MB / 0.6802 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00234/0.4636, allocations: 1.411 MB / 0.6815 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.4655, allocations: 1.934 MB / 0.6834 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.4655, allocations: 1.062 kB / 0.6834 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000953/0.4665, allocations: 394.7 kB / 0.6838 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.662e-05/0.4665, allocations: 15.98 kB / 0.6838 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.208e-06/0.4665, allocations: 0 / 0.6838 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.4668, allocations: 127 kB / 0.6839 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.269e-05/0.4668, allocations: 24.03 kB / 0.684 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.4669, allocations: 46.91 kB / 0.684 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.467, allocations: 60.31 kB / 0.6841 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.467, allocations: 2.188 kB / 0.6841 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004612/0.4675, allocations: 186.4 kB / 0.6842 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.4675, allocations: 30.97 kB / 0.6843 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.588e-05/0.4676, allocations: 68.55 kB / 0.6843 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.468, allocations: 284.6 kB / 0.6846 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.468, allocations: 9.188 kB / 0.6846 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.468, allocations: 0 / 0.6846 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.468, allocations: 0 / 0.6846 GB, free: 2.676 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.0006756/0.4687, allocations: 0.4905 MB / 0.6851 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4687, allocations: 8.938 kB / 0.6851 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.4688, allocations: 107.7 kB / 0.6852 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.4689, allocations: 101.3 kB / 0.6853 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.4691, allocations: 301 kB / 0.6856 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.4691, allocations: 151.9 kB / 0.6857 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.4692, allocations: 161.9 kB / 0.6859 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.448e-05/0.4692, allocations: 104.9 kB / 0.686 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4692, allocations: 76.38 kB / 0.6861 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.4692, allocations: 154.6 kB / 0.6862 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.4693, allocations: 150.6 kB / 0.6864 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.4693, allocations: 155.5 kB / 0.6865 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.4695, allocations: 0.5051 MB / 0.687 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.778e-05/0.4696, allocations: 170.4 kB / 0.6872 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.4696, allocations: 80.14 kB / 0.6872 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.4697, allocations: 84.12 kB / 0.6873 GB, free: 15.88 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.192e-05/0.4697, allocations: 107 kB / 0.6874 GB, free: 15.77 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4697, allocations: 0 / 0.6874 GB, free: 15.77 MB / 0.5138 GB Notification: Performance of matching and sorting (n=0): time 0.000184/0.4699, allocations: 51.47 kB / 0.6875 GB, free: 15.72 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.47, allocations: 131.9 kB / 0.6876 GB, free: 15.58 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.4704, allocations: 319.1 kB / 0.6879 GB, free: 15.37 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.4704, allocations: 30.8 kB / 0.6879 GB, free: 15.34 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 9.289e-05/0.4705, allocations: 116.3 kB / 0.688 GB, free: 15.23 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-06/0.4705, allocations: 0 / 0.688 GB, free: 15.23 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.4706, allocations: 60.56 kB / 0.6881 GB, free: 15.19 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4707, allocations: 332.3 kB / 0.6884 GB, free: 14.86 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.92e-05/0.4708, allocations: 64.58 kB / 0.6885 GB, free: 14.83 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.471, allocations: 126 kB / 0.6886 GB, free: 14.72 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.4712, allocations: 204.8 kB / 0.6888 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4712, allocations: 0 / 0.6888 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000461/0.4717, allocations: 234.4 kB / 0.689 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4717, allocations: 10.19 kB / 0.689 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4717, allocations: 1.938 kB / 0.689 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4717, allocations: 5.938 kB / 0.689 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.33e-06/0.4717, allocations: 6.109 kB / 0.689 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4717, allocations: 2.344 kB / 0.689 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.4719, allocations: 33.69 kB / 0.6891 GB, free: 14.42 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4719, allocations: 3.438 kB / 0.6891 GB, free: 14.42 MB / 0.5138 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.0002516/0.4721, allocations: 224.2 kB / 0.6893 GB, free: 14.21 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.4723, allocations: 131.7 kB / 0.6894 GB, free: 14.09 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.821e-05/0.4723, allocations: 113.3 kB / 0.6895 GB, free: 13.97 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001049/0.4724, allocations: 181.4 kB / 0.6897 GB, free: 13.79 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.384e-05/0.4725, allocations: 181.7 kB / 0.6899 GB, free: 13.61 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.514e-05/0.4726, allocations: 176.3 kB / 0.69 GB, free: 13.43 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.473, allocations: 457.8 kB / 0.6905 GB, free: 12.95 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.382e-05/0.473, allocations: 110.1 kB / 0.6906 GB, free: 12.83 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.4731, allocations: 110 kB / 0.6907 GB, free: 12.72 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.133e-05/0.4732, allocations: 181.4 kB / 0.6909 GB, free: 12.54 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-05/0.4733, allocations: 181.5 kB / 0.691 GB, free: 12.35 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.934e-05/0.4733, allocations: 184.2 kB / 0.6912 GB, free: 12.16 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.044e-05/0.4734, allocations: 181.6 kB / 0.6914 GB, free: 11.98 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.4736, allocations: 320.6 kB / 0.6917 GB, free: 11.65 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.4737, allocations: 198.8 kB / 0.6919 GB, free: 11.44 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.4738, allocations: 182.6 kB / 0.692 GB, free: 11.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.474, allocations: 105.9 kB / 0.6921 GB, free: 11.14 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/0.474, allocations: 185.2 kB / 0.6923 GB, free: 10.96 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.4741, allocations: 106.1 kB / 0.6924 GB, free: 10.85 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0002264/0.4743, allocations: 212.5 kB / 0.6926 GB, free: 10.71 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9e-08/0.4743, allocations: 0 / 0.6926 GB, free: 10.71 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0004402/0.4748, allocations: 66.58 kB / 0.6927 GB, free: 10.7 MB / 0.5138 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.0007513/0.4755, allocations: 0.9243 MB / 0.6936 GB, free: 9.82 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.4757, allocations: 87.3 kB / 0.6937 GB, free: 9.777 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4757, allocations: 0 / 0.6937 GB, free: 9.777 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.4757, allocations: 1.062 kB / 0.6937 GB, free: 9.777 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.4762, allocations: 459.8 kB / 0.6941 GB, free: 9.328 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.479, allocations: 2.445 MB / 0.6965 GB, free: 7.395 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.4794, allocations: 0.7354 MB / 0.6972 GB, free: 6.672 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 2.182e-05/0.4794, allocations: 6.203 kB / 0.6972 GB, free: 6.668 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.4795, allocations: 36.73 kB / 0.6973 GB, free: 6.633 MB / 0.5138 GB Notification: Performance of SimCode: time 6.81e-07/0.4795, allocations: 5.375 kB / 0.6973 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.5101, allocations: 4.872 MB / 0.702 GB, free: 4.172 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/8.854, allocations: 9.188 kB / 0.702 GB, free: 4.168 MB / 0.5138 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.259122800081968] Failed to read output from testmodel.py, exit status != 0: 8.922651688102633 8.943050633 8.471079009 Calling exit ...