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.001329/0.001329, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001624/0.001624, allocations: 216.2 kB / 22.26 MB, free: 5.082 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 8.008 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.002517/0.002517, allocations: 290.5 kB / 312.7 MB, free: 2.797 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.208/1.208, allocations: 180.6 MB / 0.5369 GB, free: 13.07 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.DC.Lines.Examples.Resistance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance",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.002836/0.002836, allocations: 98.09 kB / 0.7396 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1669, allocations: 95.38 MB / 0.8327 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.004812/0.1718, allocations: 3.19 MB / 0.8358 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002288/0.174, allocations: 1.418 MB / 0.8372 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.1742, allocations: 11.94 kB / 0.8372 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.1752, allocations: 344.5 kB / 0.8376 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.1756, allocations: 143.3 kB / 0.8377 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.1759, allocations: 139.6 kB / 0.8378 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.1763, allocations: 311 kB / 0.8381 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.1767, allocations: 180.5 kB / 0.8383 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1769, allocations: 123.5 kB / 0.8384 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.1772, allocations: 151.5 kB / 0.8386 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.1772, allocations: 16 kB / 0.8386 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.1775, allocations: 163.6 kB / 0.8387 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1776, allocations: 87.72 kB / 0.8388 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1777, allocations: 111.5 kB / 0.8389 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004969/0.1782, allocations: 342.8 kB / 0.8392 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1782, allocations: 4 kB / 0.8392 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1782, allocations: 0 / 0.8392 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.1782, allocations: 0 / 0.8392 GB, free: 1.965 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.0008045/0.179, allocations: 453.5 kB / 0.8397 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1791, allocations: 13.34 kB / 0.8397 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.047e-05/0.1791, allocations: 54.73 kB / 0.8397 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/0.1797, allocations: 84.72 kB / 0.8398 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.18, allocations: 178.2 kB / 0.84 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.18, allocations: 20.69 kB / 0.84 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.1801, allocations: 16.38 kB / 0.84 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.1805, allocations: 299.2 kB / 0.8403 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1805, allocations: 3.938 kB / 0.8403 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.1806, allocations: 12 kB / 0.8403 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.1806, allocations: 20.3 kB / 0.8404 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.1809, allocations: 193 kB / 0.8405 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.1826, allocations: 1.429 MB / 0.8419 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.1828, allocations: 94.59 kB / 0.842 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.272e-05/0.1829, allocations: 32.84 kB / 0.8421 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.1829, allocations: 0 / 0.8421 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.1829, allocations: 38.5 kB / 0.8421 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.1829, allocations: 0 / 0.8421 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0004415/0.1833, allocations: 150.5 kB / 0.8422 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1834, allocations: 51.41 kB / 0.8423 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.1836, allocations: 205.3 kB / 0.8425 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1836, allocations: 29.7 kB / 0.8425 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1837, allocations: 160 kB / 0.8427 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.1838, allocations: 27.8 kB / 0.8427 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.1838, allocations: 33.72 kB / 0.8427 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.184, allocations: 330.8 kB / 0.843 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.184, allocations: 39.92 kB / 0.8431 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1841, allocations: 96.56 kB / 0.8432 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.1843, allocations: 148.4 kB / 0.8433 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1843, allocations: 0 / 0.8433 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003101/0.1846, allocations: 190.2 kB / 0.8435 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.1847, allocations: 13.86 kB / 0.8435 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1847, allocations: 0 / 0.8435 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.1848, allocations: 29.12 kB / 0.8435 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1849, allocations: 27.94 kB / 0.8436 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.1861, allocations: 1.323 MB / 0.8448 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.1862, allocations: 23.88 kB / 0.8449 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1862, allocations: 4 kB / 0.8449 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.000147/0.1864, allocations: 146.4 kB / 0.845 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.1864, allocations: 11.95 kB / 0.845 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.1864, allocations: 21.39 kB / 0.845 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1864, allocations: 12 kB / 0.8451 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1864, allocations: 0 / 0.8451 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1864, allocations: 0 / 0.8451 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.187, allocations: 422.2 kB / 0.8455 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.187, allocations: 0 / 0.8455 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.187, allocations: 11.98 kB / 0.8455 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.272e-05/0.1871, allocations: 24.89 kB / 0.8455 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1871, allocations: 3.984 kB / 0.8455 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.1882, allocations: 1.323 MB / 0.8468 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1882, allocations: 0 / 0.8468 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1884, allocations: 212.2 kB / 0.847 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.1885, allocations: 19.91 kB / 0.847 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1885, allocations: 0 / 0.847 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1886, allocations: 7.984 kB / 0.847 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.1886, allocations: 12.06 kB / 0.847 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.1886, allocations: 4.094 kB / 0.847 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001413/0.1888, allocations: 151 kB / 0.8472 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1888, allocations: 0 / 0.8472 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003405/0.1891, allocations: 51.89 kB / 0.8472 GB, free: 9.094 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.0005471/0.1897, allocations: 0.7483 MB / 0.848 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003726/0.19, allocations: 198.5 kB / 0.8481 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.19, allocations: 0 / 0.8481 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.1902, allocations: 147.2 kB / 0.8483 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1906, allocations: 40.58 kB / 0.8483 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.1929, allocations: 2.047 MB / 0.8503 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.1934, allocations: 0.7515 MB / 0.8511 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.139e-05/0.1934, allocations: 21.86 kB / 0.8511 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/0.1935, allocations: 51.42 kB / 0.8511 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.1935, allocations: 4 kB / 0.8511 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/0.2264, allocations: 3.899 MB / 0.8549 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.81, allocations: 12.53 kB / 0.855 GB, free: 1.129 MB / 0.5919 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance_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_DC_Lines_Examples_Resistance.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.950837962998776] Failed to read output from testmodel.py, exit status != 0: 10.918948523001745 10.942906526 10.760154964 Calling exit ...