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.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.001313/0.001313, 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.001514/0.001514, allocations: 198.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.487/1.487, 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.962/0.962, allocations: 150 MB / 460.2 MB, free: 5.262 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_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",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.001965/0.001965, allocations: 70.28 kB / 0.6368 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1548, allocations: 89.14 MB / 0.7238 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002606/0.1574, allocations: 1.424 MB / 0.7252 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003425/0.1608, allocations: 2.686 MB / 0.7278 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.1609, allocations: 0 / 0.7278 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.1623, allocations: 0.5792 MB / 0.7284 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.356e-05/0.1623, allocations: 23.84 kB / 0.7284 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.088e-06/0.1623, allocations: 0 / 0.7284 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.1626, allocations: 158.9 kB / 0.7286 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.025e-05/0.1627, allocations: 32.39 kB / 0.7286 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.378e-05/0.1627, allocations: 59.73 kB / 0.7287 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1629, allocations: 75.58 kB / 0.7287 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1629, allocations: 4 kB / 0.7287 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.1639, allocations: 471.2 kB / 0.7292 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.164, allocations: 35.78 kB / 0.7292 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.1641, allocations: 103.4 kB / 0.7293 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006575/0.1648, allocations: 442 kB / 0.7297 GB, free: 13.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1648, allocations: 0 / 0.7297 GB, free: 13.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1648, allocations: 4 kB / 0.7297 GB, free: 13.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.1648, allocations: 0 / 0.7297 GB, free: 13.95 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.0008144/0.1656, allocations: 0.5603 MB / 0.7303 GB, free: 13.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1656, allocations: 8.031 kB / 0.7303 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.021e-05/0.1657, allocations: 75.47 kB / 0.7304 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.479e-05/0.1657, allocations: 106 kB / 0.7305 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.1659, allocations: 112 kB / 0.7306 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1662, allocations: 302.4 kB / 0.7309 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/0.1662, allocations: 154.9 kB / 0.731 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.1663, allocations: 154.9 kB / 0.7312 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.1664, allocations: 117.2 kB / 0.7313 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.1664, allocations: 75.28 kB / 0.7314 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/0.1665, allocations: 154.6 kB / 0.7315 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/0.1666, allocations: 150.6 kB / 0.7316 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.1667, allocations: 158.6 kB / 0.7318 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.1671, allocations: 0.5328 MB / 0.7323 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.1672, allocations: 173.1 kB / 0.7325 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.1672, allocations: 88.14 kB / 0.7326 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.1673, allocations: 75.28 kB / 0.7326 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/0.1673, allocations: 109.8 kB / 0.7327 GB, free: 10.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1673, allocations: 3.938 kB / 0.7327 GB, free: 10.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001812/0.1675, allocations: 49.56 kB / 0.7328 GB, free: 10.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.1676, allocations: 130.7 kB / 0.7329 GB, free: 10.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.1681, allocations: 437.3 kB / 0.7333 GB, free: 10.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1681, allocations: 25.7 kB / 0.7334 GB, free: 10.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1682, allocations: 144.5 kB / 0.7335 GB, free: 9.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/0.1682, allocations: 0 / 0.7335 GB, free: 9.883 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/0.1683, allocations: 89.67 kB / 0.7336 GB, free: 9.789 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1684, allocations: 338.8 kB / 0.7339 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.1686, allocations: 96.5 kB / 0.734 GB, free: 9.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.1688, allocations: 169.3 kB / 0.7342 GB, free: 9.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.1691, allocations: 301.6 kB / 0.7344 GB, free: 8.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1691, allocations: 0 / 0.7344 GB, free: 8.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005335/0.1697, allocations: 333.1 kB / 0.7348 GB, free: 8.523 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1697, allocations: 11.94 kB / 0.7348 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1697, allocations: 3.984 kB / 0.7348 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1697, allocations: 4 kB / 0.7348 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.1697, allocations: 0 / 0.7348 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.557e-06/0.1697, allocations: 7.938 kB / 0.7348 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.1699, allocations: 43.52 kB / 0.7348 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1699, allocations: 4.078 kB / 0.7348 GB, free: 8.449 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.0002496/0.1701, allocations: 242.8 kB / 0.7351 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1702, allocations: 128.7 kB / 0.7352 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.052e-05/0.1703, allocations: 118.9 kB / 0.7353 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-05/0.1704, allocations: 176.3 kB / 0.7355 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-05/0.1705, allocations: 188.2 kB / 0.7357 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.781e-05/0.1706, allocations: 180.2 kB / 0.7358 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.171, allocations: 477.2 kB / 0.7363 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.813e-05/0.171, allocations: 108.9 kB / 0.7364 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.1711, allocations: 101 kB / 0.7365 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.503e-05/0.1711, allocations: 192.2 kB / 0.7367 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/0.1712, allocations: 176.3 kB / 0.7368 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-05/0.1713, allocations: 184.5 kB / 0.737 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.679e-05/0.1714, allocations: 184.2 kB / 0.7372 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.1716, allocations: 331.6 kB / 0.7375 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.1717, allocations: 209.8 kB / 0.7377 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.1718, allocations: 180.2 kB / 0.7379 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.1719, allocations: 112.9 kB / 0.738 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.172, allocations: 176.3 kB / 0.7381 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.1721, allocations: 108.9 kB / 0.7382 GB, free: 4.723 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002841/0.1723, allocations: 275.1 kB / 0.7385 GB, free: 4.457 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1723, allocations: 0 / 0.7385 GB, free: 4.457 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000405/0.1727, allocations: 83.92 kB / 0.7386 GB, free: 4.375 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.0007928/0.1735, allocations: 0.963 MB / 0.7395 GB, free: 3.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.1738, allocations: 119.8 kB / 0.7396 GB, free: 3.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1738, allocations: 0 / 0.7396 GB, free: 3.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.1738, allocations: 0 / 0.7396 GB, free: 3.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.1742, allocations: 469.6 kB / 0.7401 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.1774, allocations: 2.948 MB / 0.743 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.1778, allocations: 0.7704 MB / 0.7437 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.479e-05/0.1778, allocations: 4 kB / 0.7437 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.1779, allocations: 55.36 kB / 0.7438 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.1779, allocations: 8 kB / 0.7438 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.2027, allocations: 6.509 MB / 0.7501 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.778/8.981, allocations: 15.75 kB / 0.7502 GB, free: 8.531 MB / 0.5606 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.80458166700555] Failed to read output from testmodel.py, exit status != 0: 9.112543880008161 9.13468773 8.965467705 Calling exit ...