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.001315/0.001315, allocations: 108.7 kB / 16.46 MB, free: 6.508 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.001373/0.001373, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.433/1.433, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002461/0.002461, allocations: 277.9 kB / 309.1 MB, free: 3.996 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.193/1.193, allocations: 180.9 MB / 0.5333 GB, free: 13.76 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002798/0.002798, allocations: 105.2 kB / 0.7342 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.151, allocations: 95.34 MB / 0.8273 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002579/0.1535, allocations: 1.427 MB / 0.8287 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.156, allocations: 1.943 MB / 0.8306 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.156, allocations: 0 / 0.8306 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009453/0.1569, allocations: 393.9 kB / 0.831 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.47e-05/0.157, allocations: 19.92 kB / 0.831 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.157, allocations: 0 / 0.831 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.1572, allocations: 127.1 kB / 0.8311 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.563e-05/0.1573, allocations: 17.44 kB / 0.8312 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.1573, allocations: 47.84 kB / 0.8312 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1575, allocations: 55.72 kB / 0.8313 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1575, allocations: 7.984 kB / 0.8313 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.1579, allocations: 187.9 kB / 0.8314 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.894e-05/0.158, allocations: 31.78 kB / 0.8315 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.025e-05/0.158, allocations: 71.61 kB / 0.8315 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.1585, allocations: 291 kB / 0.8318 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1585, allocations: 4 kB / 0.8318 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1585, allocations: 0 / 0.8318 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.1585, allocations: 0 / 0.8318 GB, free: 5.254 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.0007633/0.1593, allocations: 498.4 kB / 0.8323 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1593, allocations: 8.031 kB / 0.8323 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.957e-05/0.1594, allocations: 106 kB / 0.8324 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.1595, allocations: 100.1 kB / 0.8325 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.1598, allocations: 295.3 kB / 0.8328 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.897e-05/0.1598, allocations: 150.9 kB / 0.8329 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.1599, allocations: 158.9 kB / 0.8331 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.968e-05/0.16, allocations: 108.9 kB / 0.8332 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.16, allocations: 75.28 kB / 0.8333 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.1601, allocations: 154.6 kB / 0.8334 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/0.1601, allocations: 154.6 kB / 0.8335 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.372e-05/0.1602, allocations: 154.5 kB / 0.8337 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.1606, allocations: 0.5017 MB / 0.8342 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.448e-05/0.1607, allocations: 169.1 kB / 0.8343 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.1607, allocations: 80.14 kB / 0.8344 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.1607, allocations: 79.22 kB / 0.8345 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/0.1608, allocations: 109.8 kB / 0.8346 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.1608, allocations: 0 / 0.8346 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001677/0.161, allocations: 53.5 kB / 0.8347 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.161, allocations: 134.7 kB / 0.8348 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.1614, allocations: 318.3 kB / 0.8351 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1614, allocations: 29.7 kB / 0.8351 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.1615, allocations: 120.4 kB / 0.8352 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.1615, allocations: 0 / 0.8352 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.1615, allocations: 61.69 kB / 0.8353 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1617, allocations: 334.8 kB / 0.8356 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.1618, allocations: 63.75 kB / 0.8357 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1619, allocations: 121.9 kB / 0.8358 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.1621, allocations: 209.8 kB / 0.836 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1621, allocations: 0 / 0.836 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004121/0.1625, allocations: 233.3 kB / 0.8362 GB, free: 484 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1626, allocations: 8.219 kB / 0.8362 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1626, allocations: 7.938 kB / 0.8362 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1626, allocations: 0 / 0.8362 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-06/0.1626, allocations: 4 kB / 0.8362 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1626, allocations: 8 kB / 0.8362 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1627, allocations: 27.73 kB / 0.8363 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1627, allocations: 7.984 kB / 0.8363 GB, free: 420 kB / 0.5762 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.0001978/0.1629, allocations: 223.9 kB / 0.8365 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.891e-05/0.163, allocations: 132.7 kB / 0.8366 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.337e-05/0.1631, allocations: 113.9 kB / 0.8367 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-05/0.1631, allocations: 180.2 kB / 0.8369 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.617e-05/0.1632, allocations: 180.2 kB / 0.8371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.566e-05/0.1633, allocations: 188.2 kB / 0.8372 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.1636, allocations: 457.1 kB / 0.8377 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.59e-05/0.1636, allocations: 104.9 kB / 0.8378 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.1637, allocations: 104.9 kB / 0.8379 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.939e-05/0.1638, allocations: 184.3 kB / 0.8381 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.435e-05/0.1639, allocations: 176.3 kB / 0.8382 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.967e-05/0.1639, allocations: 180.2 kB / 0.8384 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.49e-05/0.164, allocations: 184.2 kB / 0.8386 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.1642, allocations: 319.7 kB / 0.8389 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1643, allocations: 205.9 kB / 0.8391 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.385e-05/0.1644, allocations: 180.2 kB / 0.8392 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.1645, allocations: 109 kB / 0.8393 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.1646, allocations: 184.2 kB / 0.8395 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.1646, allocations: 101.3 kB / 0.8396 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002137/0.1648, allocations: 221.9 kB / 0.8398 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1648, allocations: 0 / 0.8398 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003268/0.1652, allocations: 63.86 kB / 0.8399 GB, free: 12.48 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.0006208/0.1658, allocations: 0.93 MB / 0.8408 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.1659, allocations: 83.89 kB / 0.8409 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1659, allocations: 0 / 0.8409 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.1659, allocations: 0 / 0.8409 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.1663, allocations: 464.2 kB / 0.8413 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.1688, allocations: 2.442 MB / 0.8437 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1691, allocations: 0.7391 MB / 0.8444 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.999e-06/0.1691, allocations: 4 kB / 0.8444 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.1692, allocations: 39.42 kB / 0.8445 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.1692, allocations: 0 / 0.8445 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.1962, allocations: 4.895 MB / 0.8492 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.335, allocations: 8.859 kB / 0.8493 GB, free: 2.875 MB / 0.5919 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 12.442827003076673] Failed to read output from testmodel.py, exit status != 0: 8.40683816280216 8.432272773 8.2694683 Calling exit ...