Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001605/0.001605, 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.001927/0.001927, allocations: 216.3 kB / 22.25 MB, free: 5.258 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.777 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.002529/0.002529, allocations: 284.9 kB / 312.7 MB, free: 2.586 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.213/1.213, allocations: 180.6 MB / 0.5369 GB, free: 14.45 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_med,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med",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.003104/0.003104, allocations: 105.3 kB / 0.7395 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.168, allocations: 95.38 MB / 0.8326 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002931/0.1709, allocations: 1.426 MB / 0.834 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003327/0.1742, allocations: 2.407 MB / 0.8364 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.1743, allocations: 0 / 0.8364 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.1758, allocations: 0.5365 MB / 0.8369 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.1759, allocations: 19.84 kB / 0.8369 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.699e-06/0.1759, allocations: 3.938 kB / 0.8369 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.1761, allocations: 162.9 kB / 0.8371 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.208e-05/0.1762, allocations: 8.594 kB / 0.8371 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.104e-05/0.1763, allocations: 67.72 kB / 0.8372 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.1764, allocations: 71.59 kB / 0.8372 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1764, allocations: 4 kB / 0.8372 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008663/0.1773, allocations: 411.5 kB / 0.8376 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.1774, allocations: 39.77 kB / 0.8377 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.349e-05/0.1775, allocations: 71.56 kB / 0.8377 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.1781, allocations: 442 kB / 0.8381 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1781, allocations: 0 / 0.8381 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.667e-06/0.1781, allocations: 3.984 kB / 0.8381 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.1781, allocations: 3.938 kB / 0.8382 GB, free: 2.66 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.0008322/0.1789, allocations: 492.7 kB / 0.8386 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.179, allocations: 13.94 kB / 0.8386 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.372e-05/0.179, allocations: 106 kB / 0.8387 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.1792, allocations: 104 kB / 0.8388 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.1795, allocations: 244.5 kB / 0.8391 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.1795, allocations: 158.9 kB / 0.8392 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.964e-05/0.1796, allocations: 158.9 kB / 0.8394 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.328e-05/0.1797, allocations: 101.5 kB / 0.8395 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.1797, allocations: 79.22 kB / 0.8395 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.32e-05/0.1798, allocations: 150.6 kB / 0.8397 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-05/0.1799, allocations: 154.5 kB / 0.8398 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/0.1799, allocations: 162.5 kB / 0.84 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.1804, allocations: 0.5046 MB / 0.8405 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.1805, allocations: 169.1 kB / 0.8406 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.1805, allocations: 80.14 kB / 0.8407 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.1806, allocations: 79.27 kB / 0.8408 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.685e-05/0.1806, allocations: 113.8 kB / 0.8409 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1806, allocations: 0 / 0.8409 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001827/0.1808, allocations: 61.44 kB / 0.841 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.1809, allocations: 130.7 kB / 0.8411 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/0.1814, allocations: 433.3 kB / 0.8415 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1814, allocations: 25.7 kB / 0.8415 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1815, allocations: 136.6 kB / 0.8417 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-06/0.1815, allocations: 0 / 0.8417 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.1816, allocations: 93.66 kB / 0.8417 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1818, allocations: 342.8 kB / 0.8421 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1819, allocations: 100.6 kB / 0.8422 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.1821, allocations: 165.9 kB / 0.8423 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.1825, allocations: 305.6 kB / 0.8426 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1825, allocations: 0 / 0.8426 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000538/0.183, allocations: 333 kB / 0.8429 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.183, allocations: 7.938 kB / 0.8429 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.183, allocations: 4.219 kB / 0.8429 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1831, allocations: 4 kB / 0.8429 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.1831, allocations: 4 kB / 0.843 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1831, allocations: 0 / 0.843 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1832, allocations: 47.52 kB / 0.843 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.1832, allocations: 7.984 kB / 0.843 GB, free: 13.44 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.0002849/0.1835, allocations: 248.6 kB / 0.8432 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.245e-05/0.1836, allocations: 124.7 kB / 0.8434 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.433e-05/0.1837, allocations: 122.6 kB / 0.8435 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.318e-05/0.1838, allocations: 180.3 kB / 0.8437 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-05/0.1838, allocations: 184.2 kB / 0.8438 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.711e-05/0.1839, allocations: 180.2 kB / 0.844 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.1843, allocations: 444.2 kB / 0.8444 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.661e-05/0.1843, allocations: 108.9 kB / 0.8445 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.1844, allocations: 101 kB / 0.8446 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.144e-05/0.1845, allocations: 184.1 kB / 0.8448 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.314e-05/0.1846, allocations: 188.2 kB / 0.845 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.214e-05/0.1846, allocations: 176.5 kB / 0.8451 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.449e-05/0.1847, allocations: 184.2 kB / 0.8453 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1849, allocations: 331.7 kB / 0.8456 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.185, allocations: 132.7 kB / 0.8458 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.1852, allocations: 188.2 kB / 0.8459 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.1853, allocations: 104.9 kB / 0.846 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.1854, allocations: 176.3 kB / 0.8462 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.1854, allocations: 105 kB / 0.8463 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003231/0.1858, allocations: 283 kB / 0.8466 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1858, allocations: 0 / 0.8466 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000423/0.1862, allocations: 83.92 kB / 0.8467 GB, free: 9.492 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.0007794/0.187, allocations: 0.9547 MB / 0.8476 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.1872, allocations: 123.9 kB / 0.8477 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1872, allocations: 0 / 0.8477 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.1872, allocations: 3.938 kB / 0.8477 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.1877, allocations: 465.1 kB / 0.8482 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.191, allocations: 2.933 MB / 0.851 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.1912, allocations: 172.6 kB / 0.8512 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.239e-05/0.1912, allocations: 0 / 0.8512 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.14e-05/0.1913, allocations: 55.42 kB / 0.8512 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.1913, allocations: 0 / 0.8512 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.2276, allocations: 7.054 MB / 0.8581 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.4, allocations: 4.844 kB / 0.8581 GB, free: 13.75 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.69570477725938] Failed to read output from testmodel.py, exit status != 0: 11.508497392293066 11.525584658 11.344234733 Calling exit ...