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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 118.8 kB / 17.84 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 202.3 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9943/0.9943, allocations: 150 MB / 460.2 MB, free: 5.309 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 68.36 kB / 0.6368 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1636, allocations: 89.13 MB / 0.7238 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002611/0.1662, allocations: 1.411 MB / 0.7252 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.1688, allocations: 1.943 MB / 0.7271 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.1689, allocations: 0 / 0.7271 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.1699, allocations: 393 kB / 0.7275 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.1699, allocations: 23.91 kB / 0.7275 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.1699, allocations: 3.938 kB / 0.7275 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.1702, allocations: 119.2 kB / 0.7276 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.236e-05/0.1702, allocations: 21.42 kB / 0.7276 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.126e-05/0.1703, allocations: 43.86 kB / 0.7277 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.1704, allocations: 63.7 kB / 0.7277 GB, free: 32 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1704, allocations: 8 kB / 0.7277 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004807/0.1709, allocations: 180 kB / 0.7279 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.171, allocations: 39.73 kB / 0.728 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.584e-05/0.1711, allocations: 71.56 kB / 0.728 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.1715, allocations: 287.1 kB / 0.7283 GB, free: 15.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1715, allocations: 7.875 kB / 0.7283 GB, free: 15.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1715, allocations: 0 / 0.7283 GB, free: 15.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1715, allocations: 4 kB / 0.7283 GB, free: 15.45 MB / 0.545 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.0007855/0.1723, allocations: 494.4 kB / 0.7288 GB, free: 14.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1724, allocations: 12.03 kB / 0.7288 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.436e-05/0.1724, allocations: 75.47 kB / 0.7289 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/0.1725, allocations: 106 kB / 0.729 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.1726, allocations: 100.1 kB / 0.7291 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1729, allocations: 287.4 kB / 0.7293 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-05/0.173, allocations: 158.9 kB / 0.7295 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.173, allocations: 158.7 kB / 0.7296 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.513e-05/0.1731, allocations: 101 kB / 0.7297 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.1731, allocations: 75.28 kB / 0.7298 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.1732, allocations: 150.6 kB / 0.73 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.585e-05/0.1733, allocations: 154.6 kB / 0.7301 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.507e-05/0.1734, allocations: 158.5 kB / 0.7302 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.1738, allocations: 0.5017 MB / 0.7307 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1739, allocations: 173.1 kB / 0.7309 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.1739, allocations: 88.08 kB / 0.731 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.174, allocations: 79.22 kB / 0.7311 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.174, allocations: 105.8 kB / 0.7312 GB, free: 12.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.174, allocations: 0 / 0.7312 GB, free: 12.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001855/0.1742, allocations: 57.48 kB / 0.7312 GB, free: 12.28 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/0.1743, allocations: 126.7 kB / 0.7313 GB, free: 12.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.1746, allocations: 322.4 kB / 0.7316 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.1747, allocations: 29.7 kB / 0.7317 GB, free: 11.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.1748, allocations: 116.5 kB / 0.7318 GB, free: 11.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.1748, allocations: 0 / 0.7318 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.1748, allocations: 65.67 kB / 0.7318 GB, free: 11.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.175, allocations: 330.8 kB / 0.7322 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.87e-05/0.1751, allocations: 63.95 kB / 0.7322 GB, free: 11.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.1752, allocations: 121.9 kB / 0.7323 GB, free: 11.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.1755, allocations: 201.9 kB / 0.7325 GB, free: 10.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.1755, allocations: 4 kB / 0.7325 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004643/0.176, allocations: 249.1 kB / 0.7328 GB, free: 10.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.176, allocations: 4 kB / 0.7328 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.176, allocations: 4 kB / 0.7328 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.176, allocations: 4.219 kB / 0.7328 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.839e-06/0.176, allocations: 4 kB / 0.7328 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.176, allocations: 0 / 0.7328 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.1761, allocations: 27.73 kB / 0.7328 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1761, allocations: 8 kB / 0.7328 GB, free: 10.54 MB / 0.545 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.0002177/0.1763, allocations: 221.1 kB / 0.733 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.45e-05/0.1764, allocations: 124.8 kB / 0.7332 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.797e-05/0.1765, allocations: 117.8 kB / 0.7333 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.271e-05/0.1766, allocations: 180.2 kB / 0.7334 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.37e-05/0.1767, allocations: 176.3 kB / 0.7336 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.792e-05/0.1767, allocations: 192.3 kB / 0.7338 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.1771, allocations: 457 kB / 0.7342 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.223e-05/0.1771, allocations: 105 kB / 0.7343 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.1772, allocations: 104.9 kB / 0.7344 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.079e-05/0.1772, allocations: 176.3 kB / 0.7346 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-05/0.1773, allocations: 184.2 kB / 0.7348 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.423e-05/0.1774, allocations: 180.3 kB / 0.7349 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-05/0.1775, allocations: 180.2 kB / 0.7351 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.1777, allocations: 331.5 kB / 0.7354 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.1778, allocations: 194 kB / 0.7356 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.1779, allocations: 180.2 kB / 0.7358 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.178, allocations: 109 kB / 0.7359 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.429e-05/0.1781, allocations: 188.2 kB / 0.7361 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.1782, allocations: 105.3 kB / 0.7362 GB, free: 6.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002195/0.1784, allocations: 217.9 kB / 0.7364 GB, free: 6.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1784, allocations: 0 / 0.7364 GB, free: 6.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003711/0.1788, allocations: 67.86 kB / 0.7364 GB, free: 6.605 MB / 0.545 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.0006904/0.1795, allocations: 0.9334 MB / 0.7374 GB, free: 5.645 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.1796, allocations: 80.27 kB / 0.7374 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1797, allocations: 4.062 kB / 0.7374 GB, free: 5.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.1797, allocations: 0 / 0.7374 GB, free: 5.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1801, allocations: 460.2 kB / 0.7379 GB, free: 5.109 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.1828, allocations: 2.445 MB / 0.7403 GB, free: 2.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.1831, allocations: 0.7392 MB / 0.741 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.277e-05/0.1831, allocations: 4 kB / 0.741 GB, free: 1.762 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.1832, allocations: 39.42 kB / 0.741 GB, free: 1.723 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1832, allocations: 0 / 0.741 GB, free: 1.723 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.205, allocations: 4.903 MB / 0.7458 GB, free: 13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.642/8.847, allocations: 21.16 kB / 0.7458 GB, free: 12.98 MB / 0.5606 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.833753407991026] Failed to read output from testmodel.py, exit status != 0: 8.980472554976586 9.006703664 8.8306674 Calling exit ...