Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.001697/0.001697, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001996/0.001996, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.797 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.002585/0.002585, allocations: 286.3 kB / 312.7 MB, free: 2.617 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.235/1.235, allocations: 180.6 MB / 0.5369 GB, free: 14.6 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: translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") [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.003098/0.003098, allocations: 112.8 kB / 0.74 GB, free: 27.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1613, allocations: 95.38 MB / 0.8331 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.004883/0.1662, allocations: 3.062 MB / 0.8361 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1685, allocations: 1.305 MB / 0.8374 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1686, allocations: 4 kB / 0.8374 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.1697, allocations: 342.8 kB / 0.8377 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.1701, allocations: 139.3 kB / 0.8378 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.1704, allocations: 131.6 kB / 0.838 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004491/0.1709, allocations: 310.9 kB / 0.8383 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004675/0.1713, allocations: 180.6 kB / 0.8384 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.1715, allocations: 131.5 kB / 0.8386 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.1718, allocations: 135.5 kB / 0.8387 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.1719, allocations: 16 kB / 0.8387 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.1722, allocations: 147.7 kB / 0.8388 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1723, allocations: 87.72 kB / 0.8389 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1724, allocations: 91.59 kB / 0.839 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.1728, allocations: 342.8 kB / 0.8393 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1728, allocations: 0 / 0.8393 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1728, allocations: 4 kB / 0.8394 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.1728, allocations: 0 / 0.8394 GB, free: 1.406 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008068/0.1736, allocations: 465.4 kB / 0.8398 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1737, allocations: 9.344 kB / 0.8398 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005628/0.1742, allocations: 76.72 kB / 0.8399 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.1746, allocations: 187.8 kB / 0.8401 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1746, allocations: 12.75 kB / 0.8401 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.1746, allocations: 24.36 kB / 0.8401 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.1752, allocations: 376.5 kB / 0.8405 GB, free: 192 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.1752, allocations: 4 kB / 0.8405 GB, free: 188 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.1752, allocations: 8 kB / 0.8405 GB, free: 180 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/0.1752, allocations: 20.36 kB / 0.8405 GB, free: 160 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.1756, allocations: 193 kB / 0.8407 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.177, allocations: 0.9848 MB / 0.8416 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.1772, allocations: 106.5 kB / 0.8417 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.192e-05/0.1773, allocations: 28.84 kB / 0.8418 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.1773, allocations: 0 / 0.8418 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.1773, allocations: 38.5 kB / 0.8418 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.1773, allocations: 0 / 0.8418 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0004616/0.1778, allocations: 146.4 kB / 0.8419 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1778, allocations: 51.41 kB / 0.842 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.178, allocations: 191.1 kB / 0.8422 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.178, allocations: 29.7 kB / 0.8422 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.1782, allocations: 172.1 kB / 0.8424 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.1782, allocations: 27.78 kB / 0.8424 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.1782, allocations: 37.67 kB / 0.8424 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1784, allocations: 326.8 kB / 0.8427 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.1784, allocations: 35.98 kB / 0.8428 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1786, allocations: 102.3 kB / 0.8429 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.1788, allocations: 148.4 kB / 0.843 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1788, allocations: 0 / 0.843 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003146/0.1791, allocations: 186.2 kB / 0.8432 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1791, allocations: 8 kB / 0.8432 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1791, allocations: 96 / 0.8432 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.1793, allocations: 28.78 kB / 0.8432 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1794, allocations: 31.92 kB / 0.8432 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.1805, allocations: 1.288 MB / 0.8445 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1806, allocations: 23.84 kB / 0.8445 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1806, allocations: 4 kB / 0.8445 GB, free: 11.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.1808, allocations: 152.7 kB / 0.8447 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.1808, allocations: 15.89 kB / 0.8447 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.1808, allocations: 21.56 kB / 0.8447 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1808, allocations: 0 / 0.8447 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1808, allocations: 0 / 0.8447 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1808, allocations: 0 / 0.8447 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004937/0.1813, allocations: 374.9 kB / 0.8451 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1813, allocations: 0 / 0.8451 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.1814, allocations: 8.062 kB / 0.8451 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.028e-05/0.1815, allocations: 24.78 kB / 0.8451 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1815, allocations: 4.047 kB / 0.8451 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.1825, allocations: 1.296 MB / 0.8464 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1825, allocations: 0 / 0.8464 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.1828, allocations: 208.2 kB / 0.8466 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.1828, allocations: 27.83 kB / 0.8466 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1828, allocations: 0 / 0.8466 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1829, allocations: 4 kB / 0.8466 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.183, allocations: 8.141 kB / 0.8466 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.183, allocations: 4 kB / 0.8466 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001192/0.1831, allocations: 132.3 kB / 0.8467 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1831, allocations: 0 / 0.8467 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003336/0.1834, allocations: 55.83 kB / 0.8468 GB, free: 9.215 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001133/0.1835, allocations: 107.2 kB / 0.8469 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003688/0.1839, allocations: 199.1 kB / 0.8471 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1839, allocations: 0 / 0.8471 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.1841, allocations: 154.5 kB / 0.8472 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1844, allocations: 26.58 kB / 0.8473 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.1851, allocations: 359 kB / 0.8476 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.1852, allocations: 143.9 kB / 0.8477 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.578e-05/0.1853, allocations: 33.33 kB / 0.8478 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.1853, allocations: 15.44 kB / 0.8478 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1853, allocations: 0 / 0.8478 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of Templates: time 0.00524/0.1906, allocations: 1.859 MB / 0.8496 GB, free: 6.309 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.248071774840355] Failed to read output from testmodel.py, exit status != 0: 0.19781657494604588 0.212668971 0.036782661 Calling exit ...