Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.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.001196/0.001196, allocations: 112.2 kB / 16.46 MB, free: 6.453 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.001281/0.001281, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.381/1.381, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003911/0.003911, allocations: 291.5 kB / 309.1 MB, free: 4.051 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.204/1.204, allocations: 180.9 MB / 0.5333 GB, free: 13.88 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.Loads.Examples.Resistor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor",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.002731/0.002731, allocations: 111.2 kB / 0.7342 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.155, allocations: 95.34 MB / 0.8273 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.005702/0.1607, allocations: 3.903 MB / 0.8311 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002765/0.1634, allocations: 1.792 MB / 0.8329 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.1636, allocations: 11.94 kB / 0.8329 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.1649, allocations: 498 kB / 0.8334 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.1654, allocations: 218.9 kB / 0.8336 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.1659, allocations: 214.1 kB / 0.8338 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005367/0.1664, allocations: 474.3 kB / 0.8342 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005049/0.1669, allocations: 301.2 kB / 0.8345 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.1672, allocations: 195.4 kB / 0.8347 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.1675, allocations: 231.1 kB / 0.8349 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.1676, allocations: 28 kB / 0.835 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.168, allocations: 247.5 kB / 0.8352 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.1681, allocations: 135.5 kB / 0.8353 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.1683, allocations: 167.2 kB / 0.8355 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006043/0.1689, allocations: 0.5098 MB / 0.836 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1689, allocations: 0 / 0.836 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.276e-06/0.1689, allocations: 4 kB / 0.836 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.1689, allocations: 0 / 0.836 GB, free: 1.008 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001004/0.1699, allocations: 0.6388 MB / 0.8366 GB, free: 328 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.17, allocations: 8.031 kB / 0.8366 GB, free: 320 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.13e-05/0.17, allocations: 74.64 kB / 0.8367 GB, free: 236 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000862/0.1709, allocations: 136.6 kB / 0.8368 GB, free: 100 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.1714, allocations: 296.3 kB / 0.8371 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1714, allocations: 17.03 kB / 0.8371 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.1714, allocations: 32.38 kB / 0.8372 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006547/0.1721, allocations: 463.7 kB / 0.8376 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1721, allocations: 3.938 kB / 0.8376 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.1721, allocations: 20 kB / 0.8376 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-05/0.1722, allocations: 24.55 kB / 0.8376 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005443/0.1727, allocations: 321.9 kB / 0.838 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.1749, allocations: 2.185 MB / 0.8401 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.1753, allocations: 243.8 kB / 0.8403 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.1755, allocations: 100.8 kB / 0.8404 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.1755, allocations: 0 / 0.8404 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1755, allocations: 34.56 kB / 0.8404 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.1755, allocations: 0 / 0.8404 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0005863/0.1761, allocations: 299.3 kB / 0.8407 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1762, allocations: 59.39 kB / 0.8408 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.1764, allocations: 270.6 kB / 0.841 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1765, allocations: 25.7 kB / 0.8411 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.1766, allocations: 208.3 kB / 0.8413 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.1767, allocations: 51.58 kB / 0.8413 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/0.1767, allocations: 53.89 kB / 0.8414 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1769, allocations: 330.8 kB / 0.8417 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.797e-05/0.177, allocations: 52.44 kB / 0.8417 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.1771, allocations: 149.2 kB / 0.8419 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.1774, allocations: 228.2 kB / 0.8421 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1774, allocations: 0 / 0.8421 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004143/0.1778, allocations: 260.4 kB / 0.8423 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1778, allocations: 13.94 kB / 0.8424 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1779, allocations: 4 kB / 0.8424 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.178, allocations: 24.84 kB / 0.8424 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.1782, allocations: 55.91 kB / 0.8424 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.1794, allocations: 1.419 MB / 0.8438 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.1795, allocations: 31.73 kB / 0.8439 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.1795, allocations: 11.94 kB / 0.8439 GB, free: 8.254 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.0001687/0.1797, allocations: 173.8 kB / 0.844 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.1798, allocations: 27.89 kB / 0.8441 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.1798, allocations: 33.77 kB / 0.8441 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1798, allocations: 0 / 0.8441 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1798, allocations: 0 / 0.8441 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1798, allocations: 7.984 kB / 0.8441 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009057/0.1807, allocations: 0.6987 MB / 0.8448 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1807, allocations: 4 kB / 0.8448 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-05/0.1808, allocations: 19.94 kB / 0.8448 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.75e-05/0.1809, allocations: 28.97 kB / 0.8448 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1809, allocations: 8 kB / 0.8448 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.182, allocations: 1.414 MB / 0.8462 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.182, allocations: 0 / 0.8462 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.1824, allocations: 321.2 kB / 0.8465 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.1825, allocations: 116.9 kB / 0.8466 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.1825, allocations: 7.984 kB / 0.8466 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.1827, allocations: 15.94 kB / 0.8467 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.1827, allocations: 15.92 kB / 0.8467 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1828, allocations: 15.94 kB / 0.8467 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000216/0.183, allocations: 190 kB / 0.8469 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.183, allocations: 0 / 0.8469 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00038/0.1833, allocations: 71.89 kB / 0.8469 GB, free: 4.812 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0006845/0.184, allocations: 0.8541 MB / 0.8478 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.1845, allocations: 266.4 kB / 0.848 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1845, allocations: 0 / 0.848 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.1847, allocations: 179.7 kB / 0.8482 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.1852, allocations: 74.23 kB / 0.8483 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.1884, allocations: 2.714 MB / 0.8509 GB, free: 484 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.1889, allocations: 0.7985 MB / 0.8517 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001286/0.189, allocations: 50.23 kB / 0.8518 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.1891, allocations: 79.41 kB / 0.8518 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.1891, allocations: 0 / 0.8518 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.2226, allocations: 5.444 MB / 0.8571 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.582/9.805, allocations: 3.938 kB / 0.8571 GB, free: 10.24 MB / 0.6075 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor_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_Loads_Examples_Resistor.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.781351192854345] Failed to read output from testmodel.py, exit status != 0: 9.885053465142846 9.899323466 9.727655779 Calling exit ...