Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001773/0.001773, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002432/0.002432, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002649/0.002649, allocations: 287.1 kB / 312.7 MB, free: 2.594 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.232/1.232, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003082/0.003082, allocations: 102.9 kB / 0.7395 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1576, allocations: 95.38 MB / 0.8326 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002507/0.1601, allocations: 1.425 MB / 0.834 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.1625, allocations: 1.765 MB / 0.8357 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.1625, allocations: 0 / 0.8357 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009523/0.1635, allocations: 347.2 kB / 0.8361 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.849e-05/0.1635, allocations: 23.91 kB / 0.8361 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.447e-06/0.1636, allocations: 0 / 0.8361 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1638, allocations: 127.1 kB / 0.8362 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.1638, allocations: 5.688 kB / 0.8362 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.1639, allocations: 43.8 kB / 0.8363 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.164, allocations: 67.7 kB / 0.8363 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.164, allocations: 0 / 0.8363 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.1644, allocations: 179.9 kB / 0.8365 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.1644, allocations: 31.89 kB / 0.8365 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.376e-05/0.1645, allocations: 59.67 kB / 0.8366 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.165, allocations: 295 kB / 0.8369 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.165, allocations: 0 / 0.8369 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.165, allocations: 0 / 0.8369 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.165, allocations: 0 / 0.8369 GB, free: 3.957 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.0006881/0.1657, allocations: 421.2 kB / 0.8373 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1657, allocations: 9.344 kB / 0.8373 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.364e-05/0.1658, allocations: 110 kB / 0.8374 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.1659, allocations: 104.1 kB / 0.8375 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1662, allocations: 237.1 kB / 0.8377 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.972e-05/0.1662, allocations: 150.9 kB / 0.8379 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.1663, allocations: 154.9 kB / 0.838 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.368e-05/0.1664, allocations: 116.9 kB / 0.8381 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.1664, allocations: 75.28 kB / 0.8382 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/0.1665, allocations: 154.6 kB / 0.8383 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/0.1665, allocations: 150.6 kB / 0.8385 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.45e-05/0.1666, allocations: 158.5 kB / 0.8386 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.167, allocations: 480.9 kB / 0.8391 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.327e-05/0.1671, allocations: 165.1 kB / 0.8392 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.042e-05/0.1671, allocations: 84.14 kB / 0.8393 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.1671, allocations: 79.22 kB / 0.8394 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.1672, allocations: 105.8 kB / 0.8395 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1672, allocations: 0 / 0.8395 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001741/0.1674, allocations: 61.48 kB / 0.8396 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.1674, allocations: 126.7 kB / 0.8397 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.1678, allocations: 325.6 kB / 0.84 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1678, allocations: 29.7 kB / 0.84 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.1679, allocations: 116.5 kB / 0.8401 GB, free: 448 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.1679, allocations: 0 / 0.8401 GB, free: 448 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.168, allocations: 61.69 kB / 0.8402 GB, free: 380 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1681, allocations: 334.8 kB / 0.8405 GB, free: 36 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1682, allocations: 71.73 kB / 0.8406 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.1684, allocations: 117.9 kB / 0.8407 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.1686, allocations: 209.9 kB / 0.8409 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1686, allocations: 4 kB / 0.8409 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004405/0.1691, allocations: 241.2 kB / 0.8411 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1691, allocations: 4 kB / 0.8411 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1691, allocations: 4 kB / 0.8411 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1691, allocations: 0 / 0.8411 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.406e-06/0.1691, allocations: 4 kB / 0.8411 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1691, allocations: 0 / 0.8411 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.1692, allocations: 27.73 kB / 0.8412 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1693, allocations: 4 kB / 0.8412 GB, free: 15.31 MB / 0.5919 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.0002059/0.1695, allocations: 221.7 kB / 0.8414 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.1695, allocations: 128.9 kB / 0.8415 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.48e-05/0.1696, allocations: 125.8 kB / 0.8416 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.482e-05/0.1697, allocations: 180.2 kB / 0.8418 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.563e-05/0.1698, allocations: 180.3 kB / 0.842 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.76e-05/0.1698, allocations: 180.2 kB / 0.8421 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.1701, allocations: 424.1 kB / 0.8425 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.643e-05/0.1702, allocations: 112.9 kB / 0.8426 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.1703, allocations: 104.9 kB / 0.8427 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.001e-05/0.1703, allocations: 188.3 kB / 0.8429 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.986e-05/0.1704, allocations: 180.3 kB / 0.8431 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.478e-05/0.1705, allocations: 180.2 kB / 0.8433 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.366e-05/0.1706, allocations: 184.2 kB / 0.8434 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.1707, allocations: 319.7 kB / 0.8438 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.1708, allocations: 124.8 kB / 0.8439 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.1709, allocations: 184.2 kB / 0.844 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.171, allocations: 101 kB / 0.8441 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.1711, allocations: 184.2 kB / 0.8443 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.1712, allocations: 101.3 kB / 0.8444 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000221/0.1714, allocations: 221.2 kB / 0.8446 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1714, allocations: 0 / 0.8446 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003449/0.1717, allocations: 63.88 kB / 0.8447 GB, free: 11.5 MB / 0.5919 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.0006361/0.1724, allocations: 0.9178 MB / 0.8456 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.1726, allocations: 84.25 kB / 0.8457 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1726, allocations: 4.062 kB / 0.8457 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.1726, allocations: 0 / 0.8457 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.173, allocations: 466.9 kB / 0.8461 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.1755, allocations: 2.441 MB / 0.8485 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.1757, allocations: 122.8 kB / 0.8486 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.275e-05/0.1757, allocations: 8 kB / 0.8486 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.1757, allocations: 35.42 kB / 0.8487 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1757, allocations: 0 / 0.8487 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.2087, allocations: 5.427 MB / 0.854 GB, free: 2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.27, allocations: 14.47 kB / 0.854 GB, free: 1.992 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.422716970089823] Failed to read output from testmodel.py, exit status != 0: 11.38352475175634 11.409583016000001 11.239929465 Calling exit ...