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.001713/0.001713, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001965/0.001965, allocations: 218.2 kB / 22.26 MB, free: 5.125 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.973 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.002508/0.002508, allocations: 279.2 kB / 312.7 MB, free: 2.793 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.175/1.175, allocations: 180.6 MB / 0.5369 GB, free: 12.91 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.002825/0.002825, allocations: 109.7 kB / 0.7396 GB, free: 28.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1591, allocations: 95.39 MB / 0.8327 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002626/0.1617, allocations: 1.427 MB / 0.8341 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00259/0.1643, allocations: 1.972 MB / 0.836 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.1644, allocations: 4 kB / 0.836 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.1654, allocations: 395.5 kB / 0.8364 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.1654, allocations: 15.91 kB / 0.8364 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.1654, allocations: 0 / 0.8364 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000225/0.1657, allocations: 123.2 kB / 0.8366 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.187e-05/0.1657, allocations: 13.61 kB / 0.8366 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.1658, allocations: 47.8 kB / 0.8366 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.1659, allocations: 59.7 kB / 0.8367 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1659, allocations: 8 kB / 0.8367 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.1664, allocations: 183.9 kB / 0.8369 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.1664, allocations: 31.83 kB / 0.8369 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.1665, allocations: 71.61 kB / 0.8369 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.167, allocations: 291 kB / 0.8372 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.167, allocations: 3.938 kB / 0.8372 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.167, allocations: 0 / 0.8372 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.167, allocations: 0 / 0.8372 GB, free: 3.992 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.0006811/0.1677, allocations: 421.3 kB / 0.8376 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1677, allocations: 9.344 kB / 0.8376 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.61e-05/0.1678, allocations: 106 kB / 0.8377 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.1679, allocations: 96.12 kB / 0.8378 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1681, allocations: 241 kB / 0.8381 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.1682, allocations: 154.9 kB / 0.8382 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.1683, allocations: 154.9 kB / 0.8384 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.181e-05/0.1683, allocations: 112.9 kB / 0.8385 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.1684, allocations: 79.22 kB / 0.8385 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.143e-05/0.1684, allocations: 150.6 kB / 0.8387 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.414e-05/0.1685, allocations: 150.6 kB / 0.8388 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.1685, allocations: 158.5 kB / 0.839 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1689, allocations: 492.8 kB / 0.8395 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.564e-05/0.169, allocations: 165.1 kB / 0.8396 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.169, allocations: 80.14 kB / 0.8397 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.1691, allocations: 79.22 kB / 0.8398 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.1691, allocations: 113.8 kB / 0.8399 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1691, allocations: 0 / 0.8399 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001705/0.1693, allocations: 53.48 kB / 0.8399 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.1693, allocations: 130.7 kB / 0.84 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.1697, allocations: 321.6 kB / 0.8404 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1697, allocations: 29.69 kB / 0.8404 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.1698, allocations: 120.5 kB / 0.8405 GB, free: 480 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.1698, allocations: 4 kB / 0.8405 GB, free: 476 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.1698, allocations: 65.62 kB / 0.8406 GB, free: 404 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.17, allocations: 330.8 kB / 0.8409 GB, free: 64 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.1701, allocations: 63.73 kB / 0.8409 GB, free: 0 / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.1702, allocations: 121.9 kB / 0.8411 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.1704, allocations: 205.9 kB / 0.8413 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1704, allocations: 0 / 0.8413 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00042/0.1709, allocations: 229.3 kB / 0.8415 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1709, allocations: 8 kB / 0.8415 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1709, allocations: 0 / 0.8415 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1709, allocations: 7.938 kB / 0.8415 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.897e-06/0.1709, allocations: 3.984 kB / 0.8415 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1709, allocations: 4 kB / 0.8415 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.171, allocations: 35.95 kB / 0.8415 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.171, allocations: 4 kB / 0.8415 GB, free: 15.34 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.000194/0.1712, allocations: 228.3 kB / 0.8417 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/0.1713, allocations: 128.7 kB / 0.8419 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.1714, allocations: 105.8 kB / 0.842 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-05/0.1714, allocations: 192.2 kB / 0.8422 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.904e-05/0.1715, allocations: 180.2 kB / 0.8423 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.966e-05/0.1716, allocations: 176.3 kB / 0.8425 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.1719, allocations: 428.1 kB / 0.8429 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.124e-05/0.1719, allocations: 108.9 kB / 0.843 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.172, allocations: 104.9 kB / 0.8431 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.282e-05/0.172, allocations: 184.3 kB / 0.8433 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/0.1721, allocations: 176.3 kB / 0.8435 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.16e-05/0.1722, allocations: 188.2 kB / 0.8436 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.796e-05/0.1722, allocations: 180.2 kB / 0.8438 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.1724, allocations: 315.7 kB / 0.8441 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.1725, allocations: 132.8 kB / 0.8442 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.431e-05/0.1726, allocations: 180.2 kB / 0.8444 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1727, allocations: 101 kB / 0.8445 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.1728, allocations: 180.2 kB / 0.8447 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.1728, allocations: 109.3 kB / 0.8448 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002026/0.173, allocations: 213.2 kB / 0.845 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.173, allocations: 0 / 0.845 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003326/0.1734, allocations: 71.86 kB / 0.845 GB, free: 11.54 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.0006027/0.174, allocations: 0.9256 MB / 0.8459 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.1741, allocations: 79.89 kB / 0.846 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1741, allocations: 448 / 0.846 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.1741, allocations: 8 kB / 0.846 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.1745, allocations: 462.8 kB / 0.8465 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.177, allocations: 2.449 MB / 0.8489 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1773, allocations: 0.7353 MB / 0.8496 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.356e-05/0.1773, allocations: 3.984 kB / 0.8496 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.1774, allocations: 31.44 kB / 0.8496 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.1774, allocations: 0 / 0.8496 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.2105, allocations: 4.973 MB / 0.8545 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.78, allocations: 8.766 kB / 0.8545 GB, free: 1.859 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: 14.7647241121158] Failed to read output from testmodel.py, exit status != 0: 10.887574820080772 10.912166648 10.741074059 Calling exit ...