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.0009246/0.0009246, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001038/0.001038, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9119/0.9119, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001534/0.001534, allocations: 238 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6541/0.6541, allocations: 138.4 MB / 454.3 MB, free: 1.633 MB / 362.7 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.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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6463 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.902e-05, allocations: 3.562 kB / 0.6463 GB, free: 29.1 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004072/0.004092, allocations: 5.268 MB / 0.6515 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002606/0.006698, allocations: 2.604 MB / 0.654 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.006935, allocations: 32.28 kB / 0.654 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000876/0.007811, allocations: 0.6889 MB / 0.6547 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0005416/0.008352, allocations: 441.6 kB / 0.6551 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.00889, allocations: 425.9 kB / 0.6555 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006658/0.009555, allocations: 0.9772 MB / 0.6565 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004/0.009955, allocations: 385.4 kB / 0.6569 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.01041, allocations: 0.5101 MB / 0.6573 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.01075, allocations: 366.9 kB / 0.6577 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.682e-05/0.01081, allocations: 52.08 kB / 0.6577 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.01118, allocations: 337.5 kB / 0.6581 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.01133, allocations: 256.3 kB / 0.6583 GB, free: 20.33 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.01151, allocations: 247.6 kB / 0.6586 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0007224/0.01223, allocations: 0.9965 MB / 0.6595 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01224, allocations: 0 / 0.6595 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.52e-07/0.01224, allocations: 0 / 0.6595 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.01225, allocations: 1.281 kB / 0.6595 GB, free: 19.55 MB / 0.5105 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.001015/0.01327, allocations: 0.9219 MB / 0.6604 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.0133, allocations: 14.91 kB / 0.6604 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.942e-05/0.01337, allocations: 98.88 kB / 0.6605 GB, free: 18.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007253/0.0141, allocations: 204.2 kB / 0.6607 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.0146, allocations: 463.5 kB / 0.6612 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.01463, allocations: 42.2 kB / 0.6612 GB, free: 18.28 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.01473, allocations: 54.83 kB / 0.6613 GB, free: 18.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006295/0.01536, allocations: 0.9796 MB / 0.6622 GB, free: 17.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.01538, allocations: 4.125 kB / 0.6622 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.01541, allocations: 31.92 kB / 0.6623 GB, free: 17.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.643e-05/0.01551, allocations: 64.95 kB / 0.6623 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.01599, allocations: 0.5736 MB / 0.6629 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.01781, allocations: 3.553 MB / 0.6663 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.01807, allocations: 283.1 kB / 0.6666 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.01823, allocations: 217.2 kB / 0.6668 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.01825, allocations: 288 / 0.6668 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.01826, allocations: 42.84 kB / 0.6669 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 1.192e-06/0.01827, allocations: 0 / 0.6669 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.002703/0.02097, allocations: 2.335 MB / 0.6691 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.02099, allocations: 63.39 kB / 0.6692 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.02122, allocations: 470 kB / 0.6697 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.02124, allocations: 33.7 kB / 0.6697 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.02134, allocations: 352.5 kB / 0.67 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.02138, allocations: 154.7 kB / 0.6702 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.02147, allocations: 102.3 kB / 0.6703 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.02152, allocations: 362.7 kB / 0.6706 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.02171, allocations: 245.1 kB / 0.6708 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.02195, allocations: 411.3 kB / 0.6712 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.02243, allocations: 0.6722 MB / 0.6719 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.02243, allocations: 0 / 0.6719 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008363/0.02327, allocations: 0.9173 MB / 0.6728 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.02328, allocations: 8 kB / 0.6728 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.02329, allocations: 8 kB / 0.6728 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003988/0.02369, allocations: 223 kB / 0.673 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.02393, allocations: 115.8 kB / 0.6731 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.0261, allocations: 5.002 MB / 0.678 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.02631, allocations: 27.97 kB / 0.678 GB, free: 212 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.02634, allocations: 28.12 kB / 0.6781 GB, free: 184 kB / 0.5105 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.0002104/0.02655, allocations: 229.6 kB / 0.6783 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.0266, allocations: 55.67 kB / 0.6783 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008905/0.02749, allocations: 0.7659 MB / 0.6791 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.0275, allocations: 7.938 kB / 0.6791 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.0275, allocations: 4 kB / 0.6791 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.0275, allocations: 0 / 0.6791 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.02894, allocations: 1.4 MB / 0.6805 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02894, allocations: 3.938 kB / 0.6805 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.02912, allocations: 71.88 kB / 0.6805 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003492/0.02947, allocations: 198.8 kB / 0.6807 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.02949, allocations: 20 kB / 0.6807 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/0.03261, allocations: 4.932 MB / 0.6856 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.03262, allocations: 4 kB / 0.6856 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.03369, allocations: 1.128 MB / 0.6867 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.03382, allocations: 91.66 kB / 0.6868 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.03385, allocations: 12 kB / 0.6868 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.03402, allocations: 27.91 kB / 0.6868 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.03408, allocations: 31.94 kB / 0.6868 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.0341, allocations: 15.98 kB / 0.6868 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002196/0.03432, allocations: 314.9 kB / 0.6871 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.03432, allocations: 4.062 kB / 0.6871 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004784/0.03479, allocations: 168 kB / 0.6873 GB, free: 6.211 MB / 0.5261 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.001281/0.03608, allocations: 1.691 MB / 0.689 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009653/0.03704, allocations: 0.9615 MB / 0.6899 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.03704, allocations: 4 kB / 0.6899 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.03755, allocations: 0.668 MB / 0.6906 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007025/0.03825, allocations: 182.8 kB / 0.6907 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/0.04319, allocations: 5.599 MB / 0.6962 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.04344, allocations: 350.3 kB / 0.6965 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002301/0.04367, allocations: 117 kB / 0.6966 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.04385, allocations: 216.4 kB / 0.6968 GB, free: 12 MB / 0.5417 GB Notification: Performance of SimCode: time 9.51e-07/0.04385, allocations: 0 / 0.6968 GB, free: 12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.07859, allocations: 15.84 MB / 0.7123 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.257/7.335, allocations: 6.125 kB / 0.7123 GB, free: 12.57 MB / 0.5573 GB " [Timeout remaining time 653] (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: 10.117737805470824] Failed to read output from testmodel.py, exit status != 0: 7.4286467814818025 7.440386035 7.426181582 Calling exit ...