Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001444/0.001444, allocations: 107.2 kB / 16.45 MB, free: 6.449 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.001568/0.001568, allocations: 212 kB / 19.43 MB, free: 3.637 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.31/1.31, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 179] 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.00238/0.00238, allocations: 278.9 kB / 309.1 MB, free: 3.965 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.091/1.091, allocations: 180.9 MB / 0.5333 GB, free: 13.91 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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.002677/0.002677, allocations: 100.7 kB / 0.7342 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1404, allocations: 95.34 MB / 0.8274 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007134/0.1475, allocations: 5.621 MB / 0.8328 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004233/0.1517, allocations: 2.716 MB / 0.8355 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.152, allocations: 31.69 kB / 0.8355 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.1537, allocations: 0.6922 MB / 0.8362 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007818/0.1545, allocations: 425.7 kB / 0.8366 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008569/0.1553, allocations: 411 kB / 0.837 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009659/0.1563, allocations: 0.9552 MB / 0.8379 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005138/0.1568, allocations: 374.6 kB / 0.8383 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004629/0.1573, allocations: 382.6 kB / 0.8387 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005085/0.1578, allocations: 430.3 kB / 0.8391 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.903e-05/0.1578, allocations: 48 kB / 0.8391 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005489/0.1584, allocations: 371.2 kB / 0.8395 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.1586, allocations: 255.2 kB / 0.8397 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.1589, allocations: 350.2 kB / 0.84 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.16, allocations: 0.9728 MB / 0.841 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.16, allocations: 8 kB / 0.841 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.032e-06/0.16, allocations: 3.938 kB / 0.841 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.16, allocations: 0 / 0.841 GB, free: 11.84 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001498/0.1615, allocations: 0.9923 MB / 0.842 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1615, allocations: 12.03 kB / 0.842 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.1616, allocations: 106.6 kB / 0.8421 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.1629, allocations: 200.2 kB / 0.8423 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.1637, allocations: 0.53 MB / 0.8428 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.1637, allocations: 41.36 kB / 0.8428 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.1639, allocations: 44.56 kB / 0.8429 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.165, allocations: 0.8394 MB / 0.8437 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.165, allocations: 8 kB / 0.8437 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.1651, allocations: 23.98 kB / 0.8437 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/0.1653, allocations: 64.94 kB / 0.8438 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008734/0.1661, allocations: 0.5735 MB / 0.8443 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004385/0.1705, allocations: 4.57 MB / 0.8488 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.171, allocations: 279.2 kB / 0.8491 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.1713, allocations: 209.3 kB / 0.8493 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1713, allocations: 4.281 kB / 0.8493 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1714, allocations: 46.72 kB / 0.8493 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.1714, allocations: 0 / 0.8493 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005473/0.1768, allocations: 2.636 MB / 0.8519 GB, free: 4 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.1769, allocations: 59.34 kB / 0.852 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.1774, allocations: 466 kB / 0.8524 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.1774, allocations: 33.69 kB / 0.8524 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.1776, allocations: 356.5 kB / 0.8528 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.1778, allocations: 146.8 kB / 0.8529 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.1779, allocations: 106.2 kB / 0.853 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1781, allocations: 366.8 kB / 0.8534 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.1784, allocations: 237 kB / 0.8536 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.1789, allocations: 409.1 kB / 0.854 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008861/0.1798, allocations: 0.6855 MB / 0.8547 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.1798, allocations: 4 kB / 0.8547 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001634/0.1814, allocations: 0.9171 MB / 0.8556 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1815, allocations: 8 kB / 0.8556 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1815, allocations: 4 kB / 0.8556 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007646/0.1822, allocations: 223 kB / 0.8558 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.1827, allocations: 111.8 kB / 0.8559 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00528/0.188, allocations: 5.345 MB / 0.8611 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.1884, allocations: 27.97 kB / 0.8611 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.1884, allocations: 28.06 kB / 0.8612 GB, free: 5.883 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002779/0.1887, allocations: 228.9 kB / 0.8614 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/0.1888, allocations: 59.61 kB / 0.8614 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.1903, allocations: 0.762 MB / 0.8622 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1903, allocations: 4 kB / 0.8622 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1903, allocations: 4 kB / 0.8622 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1903, allocations: 0 / 0.8622 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.1927, allocations: 1.495 MB / 0.8636 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1927, allocations: 4 kB / 0.8636 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.1931, allocations: 67.88 kB / 0.8637 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006723/0.1937, allocations: 210.7 kB / 0.8639 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.1938, allocations: 8 kB / 0.8639 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005024/0.1988, allocations: 5.279 MB / 0.8691 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1988, allocations: 4.031 kB / 0.8691 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.2006, allocations: 1.136 MB / 0.8702 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.2008, allocations: 172.7 kB / 0.8704 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.2008, allocations: 15.98 kB / 0.8704 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.2012, allocations: 23.97 kB / 0.8704 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.2012, allocations: 31.95 kB / 0.8704 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.2013, allocations: 16.06 kB / 0.8704 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003368/0.2016, allocations: 314.9 kB / 0.8707 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2016, allocations: 3.938 kB / 0.8707 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000612/0.2022, allocations: 164 kB / 0.8709 GB, free: 11.3 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,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.00205/0.2043, allocations: 1.696 MB / 0.8726 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.2058, allocations: 0.9728 MB / 0.8735 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2058, allocations: 0 / 0.8735 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009971/0.2068, allocations: 0.668 MB / 0.8742 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.2076, allocations: 178.2 kB / 0.8743 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00756/0.2152, allocations: 5.655 MB / 0.8798 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.2158, allocations: 0.9417 MB / 0.8808 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000295/0.2161, allocations: 121 kB / 0.8809 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.2163, allocations: 207.4 kB / 0.8811 GB, free: 436 kB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.2163, allocations: 0 / 0.8811 GB, free: 436 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05012/0.2664, allocations: 14.35 MB / 0.8951 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.63, allocations: 13.06 kB / 0.8951 GB, free: 2.414 MB / 0.6387 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_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_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.364961070939898] Failed to read output from testmodel.py, exit status != 0: 10.721104121766984 10.745166866 10.58130503 Calling exit ...