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.001314/0.001314, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001761/0.001761, allocations: 210.9 kB / 22.24 MB, free: 5.242 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.002604/0.002604, allocations: 292.3 kB / 312.7 MB, free: 2.613 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.236/1.236, allocations: 180.6 MB / 0.5369 GB, free: 14.58 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.003/0.003, allocations: 109.6 kB / 0.7395 GB, free: 28.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1487, allocations: 95.38 MB / 0.8326 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006461/0.1552, allocations: 4.277 MB / 0.8368 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003293/0.1585, allocations: 1.808 MB / 0.8386 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.1587, allocations: 15.94 kB / 0.8386 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.1604, allocations: 0.5876 MB / 0.8392 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000659/0.1611, allocations: 262.6 kB / 0.8394 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.1617, allocations: 252.8 kB / 0.8396 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007474/0.1625, allocations: 0.6151 MB / 0.8403 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005697/0.1631, allocations: 347.1 kB / 0.8406 GB, free: 292 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.1633, allocations: 259.1 kB / 0.8408 GB, free: 32 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004898/0.1638, allocations: 262.9 kB / 0.8411 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.1639, allocations: 40 kB / 0.8411 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004278/0.1643, allocations: 231.4 kB / 0.8413 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.1645, allocations: 151.5 kB / 0.8415 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.1647, allocations: 179.2 kB / 0.8417 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000727/0.1654, allocations: 0.6226 MB / 0.8423 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1654, allocations: 0 / 0.8423 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1654, allocations: 0 / 0.8423 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.1654, allocations: 4 kB / 0.8423 GB, free: 14.55 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.001239/0.1667, allocations: 0.6609 MB / 0.8429 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1667, allocations: 9.938 kB / 0.8429 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.1668, allocations: 78.72 kB / 0.843 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009486/0.1678, allocations: 156.5 kB / 0.8431 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005431/0.1683, allocations: 272.9 kB / 0.8434 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.1683, allocations: 25.38 kB / 0.8434 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.1684, allocations: 40.36 kB / 0.8435 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009194/0.1693, allocations: 0.6822 MB / 0.8441 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1693, allocations: 3.938 kB / 0.8441 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.1694, allocations: 19.98 kB / 0.8442 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/0.1694, allocations: 28.64 kB / 0.8442 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006357/0.1701, allocations: 386.3 kB / 0.8446 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.1725, allocations: 1.734 MB / 0.8462 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.173, allocations: 242.5 kB / 0.8465 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.1732, allocations: 100.8 kB / 0.8466 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1732, allocations: 0 / 0.8466 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1732, allocations: 46.5 kB / 0.8466 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.011e-06/0.1732, allocations: 0 / 0.8466 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002088/0.1753, allocations: 0.8971 MB / 0.8475 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.1754, allocations: 55.41 kB / 0.8475 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.1757, allocations: 312.3 kB / 0.8478 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1757, allocations: 29.7 kB / 0.8479 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.1759, allocations: 232.2 kB / 0.8481 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.089e-05/0.176, allocations: 95.25 kB / 0.8482 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.1761, allocations: 61.98 kB / 0.8482 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1762, allocations: 334.8 kB / 0.8486 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.1764, allocations: 108.6 kB / 0.8487 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.1766, allocations: 188.4 kB / 0.8488 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.1771, allocations: 324.1 kB / 0.8492 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1771, allocations: 0 / 0.8492 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007801/0.1779, allocations: 442 kB / 0.8496 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1779, allocations: 8 kB / 0.8496 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1779, allocations: 0 / 0.8496 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.1782, allocations: 94.69 kB / 0.8497 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.1785, allocations: 67.91 kB / 0.8497 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/0.182, allocations: 4.081 MB / 0.8537 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.1823, allocations: 11.98 kB / 0.8537 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.1823, allocations: 12 kB / 0.8537 GB, free: 2.027 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.0002017/0.1825, allocations: 177.8 kB / 0.8539 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.1825, allocations: 39.91 kB / 0.854 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.894e-05/0.1826, allocations: 38.41 kB / 0.854 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1826, allocations: 0 / 0.854 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1826, allocations: 7.938 kB / 0.854 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1826, allocations: 0 / 0.854 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.1831, allocations: 336.6 kB / 0.8543 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1831, allocations: 7.875 kB / 0.8543 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.1833, allocations: 35.97 kB / 0.8544 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003084/0.1836, allocations: 94.5 kB / 0.8545 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1836, allocations: 0 / 0.8545 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00339/0.187, allocations: 4.058 MB / 0.8584 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.187, allocations: 3.938 kB / 0.8584 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008751/0.1879, allocations: 0.562 MB / 0.859 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.188, allocations: 55.86 kB / 0.859 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.188, allocations: 4 kB / 0.859 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.1882, allocations: 12 kB / 0.859 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.1883, allocations: 19.95 kB / 0.8591 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1883, allocations: 8 kB / 0.8591 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002247/0.1885, allocations: 215 kB / 0.8593 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.1885, allocations: 0 / 0.8593 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000452/0.189, allocations: 96 kB / 0.8594 GB, free: 11.84 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.00114/0.1901, allocations: 1.1 MB / 0.8604 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008717/0.191, allocations: 0.5938 MB / 0.861 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.191, allocations: 0 / 0.861 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005221/0.1915, allocations: 456.5 kB / 0.8614 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.192, allocations: 89.91 kB / 0.8615 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.1965, allocations: 3.377 MB / 0.8648 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.1968, allocations: 224.7 kB / 0.865 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.197, allocations: 58.94 kB / 0.8651 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.1971, allocations: 115.3 kB / 0.8652 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.1971, allocations: 0 / 0.8652 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04443/0.2416, allocations: 8.769 MB / 0.8738 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.85, allocations: 5.922 kB / 0.8738 GB, free: 13.04 MB / 0.6231 GB " [Timeout remaining time 648] (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: 16.08613308565691] Failed to read output from testmodel.py, exit status != 0: 11.963573595974594 11.980577257 11.811760846 Calling exit ...