Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.001291/0.001291, allocations: 114.3 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.001489/0.001489, allocations: 217.6 kB / 22.26 MB, free: 5.078 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 8.004 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.002589/0.002589, allocations: 277.2 kB / 312.7 MB, free: 2.809 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.214/1.214, allocations: 180.6 MB / 0.5369 GB, free: 12.93 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_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.002889/0.002889, allocations: 108.5 kB / 0.7396 GB, free: 28.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1592, allocations: 95.38 MB / 0.8328 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05017/0.2094, allocations: 43.03 MB / 0.8748 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02808/0.2375, allocations: 15.78 MB / 0.8902 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004323/0.2418, allocations: 246.1 kB / 0.8904 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01265/0.2545, allocations: 4.668 MB / 0.895 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008713/0.2632, allocations: 2.923 MB / 0.8978 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00861/0.2718, allocations: 3.27 MB / 0.901 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01719/0.289, allocations: 11.42 MB / 0.9122 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01498/0.304, allocations: 6.783 MB / 0.9188 GB, free: 160 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009508/0.3135, allocations: 4.97 MB / 0.9236 GB, free: 11.17 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.3236, allocations: 5.756 MB / 0.9293 GB, free: 5.398 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002819/0.3265, allocations: 0.9492 MB / 0.9302 GB, free: 4.449 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005675/0.3321, allocations: 2.064 MB / 0.9322 GB, free: 2.383 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.005986/0.3381, allocations: 3.792 MB / 0.9359 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.008637/0.3468, allocations: 4.299 MB / 0.9401 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01919/0.366, allocations: 14.32 MB / 0.9541 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.366, allocations: 0 / 0.9541 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.294e-06/0.366, allocations: 0 / 0.9541 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004004/0.3664, allocations: 0 / 0.9541 GB, free: 11.9 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02128/0.3876, allocations: 7.719 MB / 0.9616 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3877, allocations: 9.344 kB / 0.9616 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002794/0.3905, allocations: 0.8916 MB / 0.9625 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.4009, allocations: 1.557 MB / 0.964 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/0.4126, allocations: 4.382 MB / 0.9683 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004919/0.4131, allocations: 460.3 kB / 0.9688 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002298/0.4154, allocations: 0.594 MB / 0.9693 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02361/0.439, allocations: 10.69 MB / 0.9798 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002598/0.4392, allocations: 27.77 kB / 0.9798 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001602/0.4408, allocations: 259.9 kB / 0.98 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.37/0.8109, allocations: 0.7745 MB / 0.9808 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01751/0.8284, allocations: 8.555 MB / 0.9892 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05421/0.8826, allocations: 46.26 MB / 1.034 GB, free: 87.96 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004434/0.887, allocations: 3.993 MB / 1.038 GB, free: 85.79 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003909/0.8909, allocations: 3.357 MB / 1.042 GB, free: 84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002927/0.8912, allocations: 34.66 kB / 1.042 GB, free: 83.99 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.8913, allocations: 78.81 kB / 1.042 GB, free: 83.92 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 5.18e-06/0.8913, allocations: 3.938 kB / 1.042 GB, free: 83.92 MB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 0.4407/1.332, allocations: 121.1 MB / 1.16 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.615e-05/1.332, allocations: 111.9 kB / 1.16 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00454/1.337, allocations: 2.68 MB / 1.163 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0009219/1.338, allocations: 129.7 kB / 1.163 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002108/1.34, allocations: 2.749 MB / 1.165 GB, free: 5.676 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002548/1.342, allocations: 2.045 MB / 1.167 GB, free: 3.656 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002492/1.345, allocations: 0.9251 MB / 1.168 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.345, allocations: 305.1 kB / 1.169 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006815/1.352, allocations: 4.082 MB / 1.173 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007799/1.359, allocations: 5.015 MB / 1.177 GB, free: 9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01605/1.375, allocations: 9.848 MB / 1.187 GB, free: 14.77 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-05/1.375, allocations: 4 kB / 1.187 GB, free: 14.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0422/1.418, allocations: 16.75 MB / 1.203 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/1.418, allocations: 16 kB / 1.203 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.067e-05/1.418, allocations: 20 kB / 1.204 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03225/1.45, allocations: 9.091 MB / 1.212 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/1.453, allocations: 0.5187 MB / 1.213 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1187/1.571, allocations: 75.91 MB / 1.287 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004779/1.576, allocations: 278.5 kB / 1.287 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/1.577, allocations: 188 kB / 1.287 GB, free: 6.57 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005294/1.582, allocations: 2.43 MB / 1.29 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/1.584, allocations: 0.4892 MB / 1.29 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04213/1.626, allocations: 16.54 MB / 1.306 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.176e-05/1.626, allocations: 56 kB / 1.307 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001941/1.626, allocations: 72 kB / 1.307 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/1.626, allocations: 27.89 kB / 1.307 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4136/2.04, allocations: 25.36 MB / 1.331 GB, free: 303.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/2.04, allocations: 9.719 kB / 1.331 GB, free: 303.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/2.042, allocations: 318.4 kB / 1.332 GB, free: 303.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02861/2.071, allocations: 8.274 MB / 1.34 GB, free: 303.1 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009337/2.071, allocations: 107.7 kB / 1.34 GB, free: 303.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08378/2.155, allocations: 72.77 MB / 1.411 GB, free: 261.4 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/2.155, allocations: 11.94 kB / 1.411 GB, free: 261.4 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03742/2.193, allocations: 21.31 MB / 1.432 GB, free: 239.9 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003613/2.196, allocations: 1.322 MB / 1.433 GB, free: 238.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001321/2.198, allocations: 104 kB / 1.433 GB, free: 238.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003584/2.201, allocations: 291.6 kB / 1.433 GB, free: 238.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00189/2.203, allocations: 0.5491 MB / 1.434 GB, free: 237.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005251/2.204, allocations: 140 kB / 1.434 GB, free: 237.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002004/2.206, allocations: 1.776 MB / 1.436 GB, free: 235.7 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/2.206, allocations: 4 kB / 1.436 GB, free: 235.7 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00636/2.212, allocations: 2.465 MB / 1.438 GB, free: 233.2 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03655/2.248, allocations: 22.01 MB / 1.46 GB, free: 210.9 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02228/2.271, allocations: 13.73 MB / 1.473 GB, free: 196.9 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/2.271, allocations: 5 kB / 1.473 GB, free: 196.9 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01628/2.287, allocations: 9.023 MB / 1.482 GB, free: 187.8 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007603/2.295, allocations: 1.397 MB / 1.483 GB, free: 186.4 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1329/2.428, allocations: 70.01 MB / 1.552 GB, free: 114.8 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00753/2.435, allocations: 4.897 MB / 1.556 GB, free: 109.9 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002867/2.438, allocations: 0.7448 MB / 1.557 GB, free: 109.1 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002883/2.441, allocations: 2.608 MB / 1.56 GB, free: 106.5 MB / 0.92 GB Notification: Performance of SimCode: time 1.282e-06/2.441, allocations: 0 / 1.56 GB, free: 106.5 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6776/3.118, allocations: 204.1 MB / 1.759 GB, free: 258.9 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.03/26.15, allocations: 8.078 kB / 1.759 GB, free: 258.9 MB / 0.9356 GB " [Timeout remaining time 634] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 30.74135770695284] Failed to read output from testmodel.py, exit status != 0: 26.3524707169272 26.362617717 25.994199055 Calling exit ...