Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.001342/0.001342, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001413/0.001413, allocations: 217 kB / 22.25 MB, free: 5.082 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.349/1.349, allocations: 230.6 MB / 256 MB, free: 7.996 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.002467/0.002467, allocations: 288.6 kB / 312.7 MB, free: 2.82 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.137/1.137, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_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.002753/0.002753, allocations: 113.8 kB / 0.7396 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1496, allocations: 95.39 MB / 0.8328 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03306/0.1827, allocations: 27.93 MB / 0.86 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.1967, allocations: 8.383 MB / 0.8682 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.1988, allocations: 154.8 kB / 0.8684 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007202/0.206, allocations: 2.879 MB / 0.8712 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004257/0.2102, allocations: 1.668 MB / 0.8728 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004367/0.2146, allocations: 1.734 MB / 0.8745 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008069/0.2227, allocations: 6.143 MB / 0.8805 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006666/0.2293, allocations: 3.784 MB / 0.8842 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004459/0.2338, allocations: 2.652 MB / 0.8868 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004991/0.2388, allocations: 2.994 MB / 0.8897 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00147/0.2402, allocations: 0.5078 MB / 0.8902 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.2435, allocations: 1.311 MB / 0.8915 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002793/0.2463, allocations: 2.104 MB / 0.8935 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003828/0.2501, allocations: 2.377 MB / 0.8959 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009935/0.26, allocations: 8.087 MB / 0.9038 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.26, allocations: 0 / 0.9038 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.26, allocations: 0 / 0.9038 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002099/0.2603, allocations: 0 / 0.9038 GB, free: 15.63 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009271/0.2695, allocations: 4.256 MB / 0.9079 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2696, allocations: 9.344 kB / 0.9079 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007388/0.2703, allocations: 0.5343 MB / 0.9084 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004022/0.2743, allocations: 0.8219 MB / 0.9092 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005105/0.2794, allocations: 2.53 MB / 0.9117 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.2796, allocations: 275.6 kB / 0.912 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006564/0.2803, allocations: 380.4 kB / 0.9123 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009592/0.2899, allocations: 5.992 MB / 0.9182 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-05/0.29, allocations: 19.81 kB / 0.9182 GB, free: 460 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003751/0.2904, allocations: 160 kB / 0.9184 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005461/0.2909, allocations: 286.8 kB / 0.9186 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007541/0.2984, allocations: 4.516 MB / 0.923 GB, free: 11.49 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0285/0.3269, allocations: 27.25 MB / 0.9497 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.3286, allocations: 1.066 MB / 0.9507 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.3299, allocations: 0.9602 MB / 0.9516 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.738e-05/0.33, allocations: 13 kB / 0.9516 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.33, allocations: 43.56 kB / 0.9517 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 2.905e-06/0.33, allocations: 0 / 0.9517 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=131): time 0.02111/0.3511, allocations: 9.096 MB / 0.9606 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.3512, allocations: 68.72 kB / 0.9606 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.3533, allocations: 1.494 MB / 0.9621 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.3534, allocations: 45.7 kB / 0.9621 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.3546, allocations: 1.711 MB / 0.9638 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/0.3551, allocations: 499.7 kB / 0.9643 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005078/0.3556, allocations: 331.4 kB / 0.9646 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3557, allocations: 309.1 kB / 0.9649 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.357, allocations: 0.9135 MB / 0.9658 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.3588, allocations: 1.471 MB / 0.9672 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003414/0.3623, allocations: 2.55 MB / 0.9697 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.3623, allocations: 4 kB / 0.9697 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005843/0.3681, allocations: 3.267 MB / 0.9729 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.3681, allocations: 12 kB / 0.9729 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.3682, allocations: 24.16 kB / 0.9729 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/0.3704, allocations: 0.7334 MB / 0.9737 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.372, allocations: 383.4 kB / 0.974 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/0.3887, allocations: 16.14 MB / 0.9898 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.3901, allocations: 100.1 kB / 0.9899 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/0.3903, allocations: 72 kB / 0.99 GB, free: 2.766 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.002156/0.3924, allocations: 1.306 MB / 0.9912 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004018/0.3928, allocations: 218.7 kB / 0.9914 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3403/0.7331, allocations: 2.761 MB / 0.9941 GB, free: 145.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.7332, allocations: 19.91 kB / 0.9941 GB, free: 145.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.7332, allocations: 10.5 kB / 0.9942 GB, free: 145.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.7332, allocations: 6.469 kB / 0.9942 GB, free: 145.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009233/0.7424, allocations: 6.173 MB / 1 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.7424, allocations: 6.594 kB / 1 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.7435, allocations: 230.7 kB / 1 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.7453, allocations: 0.6721 MB / 1.001 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-05/0.7454, allocations: 34.98 kB / 1.001 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/0.7578, allocations: 15.86 MB / 1.017 GB, free: 131 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.7578, allocations: 9.781 kB / 1.017 GB, free: 131 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005489/0.7633, allocations: 3.999 MB / 1.021 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.7643, allocations: 391.2 kB / 1.021 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/0.7646, allocations: 36.33 kB / 1.021 GB, free: 129.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008618/0.7654, allocations: 82.8 kB / 1.021 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/0.7657, allocations: 126.1 kB / 1.021 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.442e-05/0.7658, allocations: 37.69 kB / 1.021 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001245/0.7671, allocations: 0.9937 MB / 1.022 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7671, allocations: 0 / 1.022 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002084/0.7691, allocations: 0.6872 MB / 1.023 GB, free: 128.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.005048/0.7742, allocations: 4.592 MB / 1.027 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003932/0.7781, allocations: 3.382 MB / 1.031 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.7781, allocations: 7.875 kB / 1.031 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002487/0.7806, allocations: 2.232 MB / 1.033 GB, free: 123 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/0.7831, allocations: 0.6852 MB / 1.033 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/0.8073, allocations: 21.3 MB / 1.054 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/0.8091, allocations: 2.68 MB / 1.057 GB, free: 102 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001166/0.8103, allocations: 481.4 kB / 1.057 GB, free: 101.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/0.8113, allocations: 1.284 MB / 1.059 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of SimCode: time 7.02e-07/0.8113, allocations: 0 / 1.059 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/0.9202, allocations: 59.11 MB / 1.116 GB, free: 41.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.62, allocations: 8 kB / 1.116 GB, free: 41.8 MB / 0.7325 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.681960594840348] Failed to read output from testmodel.py, exit status != 0: 15.759659925941378 15.772946084 15.509378636 Calling exit ...