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.001243/0.001243, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001497/0.001497, allocations: 217.4 kB / 23.03 MB, free: 4.922 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002596/0.002596, allocations: 279.9 kB / 313.5 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.221/1.221, allocations: 180.6 MB / 0.5377 GB, free: 14.44 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",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.002833/0.002833, allocations: 95.06 kB / 0.7402 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1692, allocations: 95.39 MB / 0.8334 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00258/0.1718, allocations: 1.421 MB / 0.8348 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002321/0.1741, allocations: 1.754 MB / 0.8365 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.1742, allocations: 7.938 kB / 0.8365 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009895/0.1751, allocations: 346.1 kB / 0.8368 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-05/0.1752, allocations: 19.91 kB / 0.8368 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.887e-06/0.1752, allocations: 0 / 0.8368 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.1754, allocations: 127.1 kB / 0.837 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.1755, allocations: 5.688 kB / 0.837 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.331e-05/0.1755, allocations: 51.84 kB / 0.837 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.1757, allocations: 63.7 kB / 0.8371 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1757, allocations: 4 kB / 0.8371 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.1761, allocations: 183.9 kB / 0.8373 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.1761, allocations: 31.84 kB / 0.8373 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.1762, allocations: 59.66 kB / 0.8373 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.1766, allocations: 295 kB / 0.8376 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1766, allocations: 0 / 0.8376 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1766, allocations: 0 / 0.8376 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1766, allocations: 8 kB / 0.8376 GB, free: 3.855 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.0006962/0.1773, allocations: 421.2 kB / 0.838 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1774, allocations: 9.344 kB / 0.838 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.798e-05/0.1774, allocations: 75.47 kB / 0.8381 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.537e-05/0.1775, allocations: 110 kB / 0.8382 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.1776, allocations: 100.1 kB / 0.8383 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1779, allocations: 237.1 kB / 0.8385 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.787e-05/0.1779, allocations: 150.9 kB / 0.8387 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.271e-05/0.178, allocations: 162.7 kB / 0.8388 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.34e-05/0.1781, allocations: 105 kB / 0.8389 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.1781, allocations: 75.28 kB / 0.839 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/0.1782, allocations: 158.5 kB / 0.8392 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.335e-05/0.1782, allocations: 154.6 kB / 0.8393 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.392e-05/0.1783, allocations: 154.5 kB / 0.8395 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.1786, allocations: 476.9 kB / 0.8399 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.61e-05/0.1787, allocations: 169.1 kB / 0.8401 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.1788, allocations: 84.08 kB / 0.8402 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1788, allocations: 79.22 kB / 0.8402 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.1789, allocations: 109.8 kB / 0.8403 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1789, allocations: 4 kB / 0.8403 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001802/0.1791, allocations: 49.56 kB / 0.8404 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.1791, allocations: 130.7 kB / 0.8405 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.1795, allocations: 329.5 kB / 0.8408 GB, free: 424 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1795, allocations: 25.7 kB / 0.8409 GB, free: 392 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.1796, allocations: 120.5 kB / 0.841 GB, free: 268 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.1796, allocations: 3.938 kB / 0.841 GB, free: 264 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.1796, allocations: 61.67 kB / 0.841 GB, free: 196 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1798, allocations: 330.8 kB / 0.8413 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.1799, allocations: 63.73 kB / 0.8414 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.18, allocations: 129.9 kB / 0.8415 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.1803, allocations: 205.9 kB / 0.8417 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1803, allocations: 0 / 0.8417 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004342/0.1807, allocations: 245.2 kB / 0.842 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1807, allocations: 4 kB / 0.842 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1807, allocations: 4 kB / 0.842 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1807, allocations: 0 / 0.842 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.015e-06/0.1807, allocations: 4 kB / 0.842 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1808, allocations: 0 / 0.842 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.1809, allocations: 27.73 kB / 0.842 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.1809, allocations: 8.203 kB / 0.842 GB, free: 15.13 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.0002189/0.1811, allocations: 234.7 kB / 0.8422 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.1812, allocations: 120.8 kB / 0.8423 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.074e-05/0.1812, allocations: 117.8 kB / 0.8425 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-05/0.1813, allocations: 180.2 kB / 0.8426 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-05/0.1814, allocations: 180.3 kB / 0.8428 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.061e-05/0.1815, allocations: 180.2 kB / 0.843 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.1818, allocations: 432.1 kB / 0.8434 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.564e-05/0.1818, allocations: 101 kB / 0.8435 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.1819, allocations: 104.9 kB / 0.8436 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.417e-05/0.1819, allocations: 184.3 kB / 0.8438 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.742e-05/0.182, allocations: 188.2 kB / 0.8439 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-05/0.1821, allocations: 176.3 kB / 0.8441 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.326e-05/0.1821, allocations: 188.2 kB / 0.8443 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.1823, allocations: 315.7 kB / 0.8446 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.1824, allocations: 128.8 kB / 0.8447 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.854e-05/0.1825, allocations: 176.3 kB / 0.8449 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1826, allocations: 108.9 kB / 0.845 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.1827, allocations: 180.3 kB / 0.8452 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.1828, allocations: 105.2 kB / 0.8453 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002146/0.183, allocations: 217.2 kB / 0.8455 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.183, allocations: 4 kB / 0.8455 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003525/0.1833, allocations: 67.88 kB / 0.8455 GB, free: 11.32 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.0006486/0.184, allocations: 0.9217 MB / 0.8464 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.1841, allocations: 79.89 kB / 0.8465 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1842, allocations: 0 / 0.8465 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-06/0.1842, allocations: 4 kB / 0.8465 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.1846, allocations: 460.2 kB / 0.8469 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.1872, allocations: 2.441 MB / 0.8493 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.1873, allocations: 137.4 kB / 0.8495 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.131e-05/0.1873, allocations: 0 / 0.8495 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.1874, allocations: 39.42 kB / 0.8495 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of SimCode: time 6.32e-07/0.1874, allocations: 0 / 0.8495 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.2131, allocations: 5.08 MB / 0.8545 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.26, allocations: 7.25 kB / 0.8545 GB, free: 2.172 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.454244788968936] Failed to read output from testmodel.py, exit status != 0: 11.439162435010076 11.455169319 11.275531181 Calling exit ...