Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.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.001614/0.001614, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002045/0.002045, allocations: 218.3 kB / 22.26 MB, free: 5.125 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.961 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.003643/0.003643, allocations: 294.9 kB / 312.7 MB, free: 2.77 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.204/1.204, allocations: 180.6 MB / 0.5369 GB, free: 12.89 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.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",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.002895/0.002895, allocations: 91.23 kB / 0.7396 GB, free: 28.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1597, allocations: 95.39 MB / 0.8327 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006428/0.1661, allocations: 4.526 MB / 0.8371 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003278/0.1694, allocations: 1.955 MB / 0.8391 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.1696, allocations: 15.88 kB / 0.8391 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.1714, allocations: 0.6156 MB / 0.8397 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005898/0.1719, allocations: 258.6 kB / 0.8399 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.1726, allocations: 264.1 kB / 0.8402 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006933/0.1733, allocations: 0.6112 MB / 0.8408 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005588/0.1739, allocations: 343.2 kB / 0.8411 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.1742, allocations: 259.1 kB / 0.8413 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.1747, allocations: 275 kB / 0.8416 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.188e-05/0.1747, allocations: 40 kB / 0.8416 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.1752, allocations: 259.4 kB / 0.8419 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.1754, allocations: 155.5 kB / 0.842 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.1756, allocations: 218.9 kB / 0.8422 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007593/0.1763, allocations: 0.6148 MB / 0.8428 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1764, allocations: 4 kB / 0.8429 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1764, allocations: 0 / 0.8429 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.1764, allocations: 0 / 0.8429 GB, free: 14.25 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001227/0.1776, allocations: 0.6532 MB / 0.8435 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1776, allocations: 13.34 kB / 0.8435 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.455e-05/0.1777, allocations: 74.7 kB / 0.8436 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000934/0.1787, allocations: 152.5 kB / 0.8437 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.1791, allocations: 272.9 kB / 0.844 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.1792, allocations: 29.31 kB / 0.844 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.895e-05/0.1792, allocations: 32.38 kB / 0.844 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008092/0.18, allocations: 0.5355 MB / 0.8446 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.18, allocations: 0 / 0.8446 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.953e-05/0.1801, allocations: 16 kB / 0.8446 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/0.1801, allocations: 32.64 kB / 0.8446 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006104/0.1807, allocations: 398.2 kB / 0.845 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.1834, allocations: 2.364 MB / 0.8473 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.184, allocations: 253 kB / 0.8475 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.1841, allocations: 96.8 kB / 0.8476 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.1841, allocations: 8 kB / 0.8476 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1842, allocations: 30.56 kB / 0.8477 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.1842, allocations: 4 kB / 0.8477 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002145/0.1863, allocations: 0.9099 MB / 0.8486 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1864, allocations: 51.41 kB / 0.8486 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.1868, allocations: 308.4 kB / 0.8489 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.1868, allocations: 29.7 kB / 0.8489 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.187, allocations: 232.2 kB / 0.8492 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.728e-05/0.187, allocations: 87.28 kB / 0.8492 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1871, allocations: 58.03 kB / 0.8493 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.1873, allocations: 334.8 kB / 0.8496 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.1875, allocations: 112.5 kB / 0.8497 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.1877, allocations: 196.3 kB / 0.8499 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.1881, allocations: 316.2 kB / 0.8502 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1881, allocations: 4 kB / 0.8502 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007769/0.1889, allocations: 438 kB / 0.8506 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1889, allocations: 8 kB / 0.8506 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1889, allocations: 4 kB / 0.8506 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/0.1893, allocations: 106.6 kB / 0.8507 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.1896, allocations: 63.91 kB / 0.8508 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/0.1932, allocations: 4.093 MB / 0.8548 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.1934, allocations: 8.031 kB / 0.8548 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1935, allocations: 16 kB / 0.8548 GB, free: 1.129 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002563/0.1937, allocations: 185.8 kB / 0.855 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.1938, allocations: 35.75 kB / 0.855 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.171e-05/0.1939, allocations: 38.41 kB / 0.8551 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1939, allocations: 4 kB / 0.8551 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1939, allocations: 0 / 0.8551 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1939, allocations: 0 / 0.8551 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.1943, allocations: 368.5 kB / 0.8554 GB, free: 464 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1943, allocations: 7.938 kB / 0.8554 GB, free: 456 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.1945, allocations: 35.98 kB / 0.8555 GB, free: 420 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003086/0.1949, allocations: 98.47 kB / 0.8556 GB, free: 312 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.1949, allocations: 11.98 kB / 0.8556 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/0.1984, allocations: 4.066 MB / 0.8595 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1984, allocations: 3.938 kB / 0.8595 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008573/0.1992, allocations: 0.557 MB / 0.8601 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.1993, allocations: 47.77 kB / 0.8601 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.1994, allocations: 4 kB / 0.8601 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.1996, allocations: 19.98 kB / 0.8602 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.1996, allocations: 20.03 kB / 0.8602 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.1997, allocations: 8 kB / 0.8602 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002247/0.1999, allocations: 211 kB / 0.8604 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.1999, allocations: 0 / 0.8604 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004699/0.2003, allocations: 100 kB / 0.8605 GB, free: 10.89 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001202/0.2016, allocations: 1.098 MB / 0.8616 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009804/0.2025, allocations: 0.5899 MB / 0.8621 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2025, allocations: 0 / 0.8621 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005545/0.2031, allocations: 472.2 kB / 0.8626 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.2036, allocations: 77.33 kB / 0.8627 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/0.2081, allocations: 3.382 MB / 0.866 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.2086, allocations: 0.835 MB / 0.8668 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.2088, allocations: 58.92 kB / 0.8668 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.209, allocations: 107.4 kB / 0.8669 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of SimCode: time 7.22e-07/0.209, allocations: 4 kB / 0.8669 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.044/0.253, allocations: 8.114 MB / 0.8749 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.22, allocations: 15.03 kB / 0.8749 GB, free: 12.05 MB / 0.6231 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.43136485300056] Failed to read output from testmodel.py, exit status != 0: 11.333987303998583 11.358900866 11.177986597 Calling exit ...