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.00148/0.00148, allocations: 106.2 kB / 16.45 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.001612/0.001612, 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.422/1.422, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.002478/0.002478, allocations: 299.7 kB / 309.1 MB, free: 3.949 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.79 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.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.002842/0.002842, allocations: 101.8 kB / 0.7342 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1599, allocations: 95.34 MB / 0.8273 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006175/0.1661, allocations: 4.421 MB / 0.8317 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003009/0.1691, allocations: 1.924 MB / 0.8335 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.1693, allocations: 11.94 kB / 0.8335 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.1709, allocations: 0.607 MB / 0.8341 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005336/0.1714, allocations: 266.6 kB / 0.8344 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.172, allocations: 247.4 kB / 0.8346 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006838/0.1727, allocations: 0.615 MB / 0.8352 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00058/0.1733, allocations: 366.9 kB / 0.8356 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.1736, allocations: 251.2 kB / 0.8358 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004482/0.174, allocations: 283 kB / 0.8361 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.1741, allocations: 40 kB / 0.8361 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.1745, allocations: 255.4 kB / 0.8364 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.1746, allocations: 155.5 kB / 0.8365 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.1749, allocations: 218.9 kB / 0.8367 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.1756, allocations: 0.611 MB / 0.8373 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1756, allocations: 4 kB / 0.8373 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1756, allocations: 0 / 0.8373 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.1756, allocations: 0 / 0.8373 GB, free: 15.6 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.001278/0.1769, allocations: 0.7324 MB / 0.838 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1769, allocations: 12.03 kB / 0.8381 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.353e-05/0.177, allocations: 74.7 kB / 0.8381 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009706/0.178, allocations: 152.5 kB / 0.8383 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.1784, allocations: 338.7 kB / 0.8386 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.1785, allocations: 25.31 kB / 0.8386 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.922e-05/0.1785, allocations: 40.31 kB / 0.8387 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.1793, allocations: 0.5355 MB / 0.8392 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1793, allocations: 4 kB / 0.8392 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.1794, allocations: 12 kB / 0.8392 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.1794, allocations: 36.64 kB / 0.8392 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006059/0.18, allocations: 386.3 kB / 0.8396 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.1827, allocations: 2.392 MB / 0.8419 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.1832, allocations: 254.4 kB / 0.8422 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.1834, allocations: 96.81 kB / 0.8423 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.1834, allocations: 8 kB / 0.8423 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.1834, allocations: 34.55 kB / 0.8423 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.1834, allocations: 0 / 0.8423 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002267/0.1857, allocations: 1.133 MB / 0.8434 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.1858, allocations: 51.41 kB / 0.8435 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.1861, allocations: 312.3 kB / 0.8438 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.1861, allocations: 33.7 kB / 0.8438 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.1863, allocations: 232.1 kB / 0.844 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.59e-05/0.1863, allocations: 87.28 kB / 0.8441 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1865, allocations: 58.03 kB / 0.8442 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1866, allocations: 342.8 kB / 0.8445 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.1868, allocations: 104.6 kB / 0.8446 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.187, allocations: 191.7 kB / 0.8448 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.1874, allocations: 314.3 kB / 0.8451 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1874, allocations: 4 kB / 0.8451 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007576/0.1882, allocations: 445.5 kB / 0.8455 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1882, allocations: 4 kB / 0.8455 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1882, allocations: 4 kB / 0.8455 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003612/0.1886, allocations: 98.62 kB / 0.8456 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.1888, allocations: 63.91 kB / 0.8457 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/0.1924, allocations: 4.396 MB / 0.8499 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.1926, allocations: 11.94 kB / 0.85 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.1926, allocations: 16 kB / 0.85 GB, free: 1.613 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.0002066/0.1928, allocations: 186.4 kB / 0.8502 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.685e-05/0.1929, allocations: 35.75 kB / 0.8502 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.497e-05/0.193, allocations: 38.31 kB / 0.8502 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.193, allocations: 0 / 0.8502 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.193, allocations: 4 kB / 0.8502 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.193, allocations: 4.078 kB / 0.8502 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.1935, allocations: 401.4 kB / 0.8506 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.1935, allocations: 3.938 kB / 0.8506 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.1936, allocations: 31.98 kB / 0.8506 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003093/0.194, allocations: 94.44 kB / 0.8507 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.194, allocations: 4 kB / 0.8507 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003437/0.1974, allocations: 4.385 MB / 0.855 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1974, allocations: 3.938 kB / 0.855 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.1982, allocations: 0.5537 MB / 0.8556 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.1984, allocations: 128.9 kB / 0.8557 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.1984, allocations: 7.984 kB / 0.8557 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.1986, allocations: 8 kB / 0.8557 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.1987, allocations: 24.03 kB / 0.8557 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1987, allocations: 8 kB / 0.8557 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002156/0.1989, allocations: 211 kB / 0.8559 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.1989, allocations: 0 / 0.8559 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004498/0.1993, allocations: 96 kB / 0.856 GB, free: 10.88 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.001139/0.2005, allocations: 1.112 MB / 0.8571 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008915/0.2014, allocations: 0.5899 MB / 0.8577 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2014, allocations: 0 / 0.8577 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005215/0.2019, allocations: 464.3 kB / 0.8581 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.2024, allocations: 78.89 kB / 0.8582 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/0.2069, allocations: 3.376 MB / 0.8615 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.2074, allocations: 0.8311 MB / 0.8623 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.2076, allocations: 58.92 kB / 0.8624 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.2077, allocations: 111.4 kB / 0.8625 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.2077, allocations: 7.938 kB / 0.8625 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/0.2485, allocations: 7.884 MB / 0.8702 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.61/9.859, allocations: 7.172 kB / 0.8702 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 650] (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: 13.904656345956028] Failed to read output from testmodel.py, exit status != 0: 9.940400997176766 9.954470552 9.776100123 Calling exit ...