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.0008095/0.0008095, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000916/0.000916, 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.9043/0.9043, 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.001524/0.001524, allocations: 233.4 kB / 259.4 MB, free: 13.01 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.6983/0.6983, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.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.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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.018e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.2624/0.2624, allocations: 38.36 MB / 0.6838 GB, free: 34.68 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01961/0.282, allocations: 15.05 MB / 0.6985 GB, free: 25.07 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005159/0.2872, allocations: 251.9 kB / 0.6987 GB, free: 24.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.007273/0.2945, allocations: 4.497 MB / 0.7031 GB, free: 22.43 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.007697/0.3022, allocations: 3.007 MB / 0.706 GB, free: 20.54 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.009566/0.3117, allocations: 3.231 MB / 0.7092 GB, free: 18.01 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01314/0.3249, allocations: 11.66 MB / 0.7206 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009777/0.3346, allocations: 6.729 MB / 0.7271 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/0.346, allocations: 6.887 MB / 0.7339 GB, free: 1.645 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008251/0.3543, allocations: 5.09 MB / 0.7388 GB, free: 12.56 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.002434/0.3567, allocations: 0.9453 MB / 0.7398 GB, free: 11.62 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004653/0.3614, allocations: 1.934 MB / 0.7416 GB, free: 9.68 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.004237/0.3656, allocations: 3.956 MB / 0.7455 GB, free: 5.715 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.005443/0.371, allocations: 3.033 MB / 0.7485 GB, free: 2.676 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.3846, allocations: 14.56 MB / 0.7627 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.3846, allocations: 0 / 0.7627 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3846, allocations: 0 / 0.7627 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0004266/0.385, allocations: 0 / 0.7627 GB, free: 4.078 MB / 0.5886 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.01587/0.4009, allocations: 7.637 MB / 0.7701 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.4009, allocations: 13.94 kB / 0.7702 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001863/0.4028, allocations: 0.8916 MB / 0.771 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006121/0.4089, allocations: 1.565 MB / 0.7726 GB, free: 9.883 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008565/0.4175, allocations: 4.381 MB / 0.7768 GB, free: 5.418 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/0.4178, allocations: 460.5 kB / 0.7773 GB, free: 4.965 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001898/0.4197, allocations: 0.6017 MB / 0.7779 GB, free: 4.359 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.4362, allocations: 11.59 MB / 0.7892 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/0.4363, allocations: 31.19 kB / 0.7892 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009787/0.4373, allocations: 264.1 kB / 0.7895 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001487/0.4388, allocations: 0.7782 MB / 0.7902 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.4513, allocations: 8.541 MB / 0.7986 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04171/0.493, allocations: 31.41 MB / 0.8292 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00408/0.4971, allocations: 3.967 MB / 0.8331 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003659/0.5007, allocations: 3.378 MB / 0.8364 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.5009, allocations: 34.78 kB / 0.8365 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/0.501, allocations: 77.34 kB / 0.8365 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=353): time 5.5e-06/0.501, allocations: 0 / 0.8365 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of matching and sorting (n=578): time 0.5181/1.019, allocations: 121.1 MB / 0.9548 GB, free: 226.3 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/1.019, allocations: 109.9 kB / 0.9549 GB, free: 226.2 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002642/1.022, allocations: 2.729 MB / 0.9575 GB, free: 225.2 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0009287/1.023, allocations: 123.7 kB / 0.9577 GB, free: 225.1 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/1.024, allocations: 2.748 MB / 0.9603 GB, free: 223.4 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001837/1.026, allocations: 2.017 MB / 0.9623 GB, free: 222 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/1.027, allocations: 0.9233 MB / 0.9632 GB, free: 221.6 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 2.851e-05/1.027, allocations: 306.9 kB / 0.9635 GB, free: 221.3 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005151/1.032, allocations: 4.086 MB / 0.9675 GB, free: 219.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006089/1.038, allocations: 5.016 MB / 0.9724 GB, free: 216.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.05, allocations: 9.845 MB / 0.982 GB, free: 211.7 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.691e-05/1.05, allocations: 7.156 kB / 0.982 GB, free: 211.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02516/1.075, allocations: 16.74 MB / 0.9984 GB, free: 205.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/1.075, allocations: 18.33 kB / 0.9984 GB, free: 205.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.632e-05/1.075, allocations: 27.53 kB / 0.9984 GB, free: 205.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01634/1.091, allocations: 9.069 MB / 1.007 GB, free: 203 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.093, allocations: 0.5225 MB / 1.008 GB, free: 202.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05642/1.149, allocations: 74.63 MB / 1.081 GB, free: 131.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004054/1.153, allocations: 279.8 kB / 1.081 GB, free: 131 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000377/1.154, allocations: 188 kB / 1.081 GB, free: 130.8 MB / 0.7605 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.003067/1.157, allocations: 2.426 MB / 1.083 GB, free: 128.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007931/1.157, allocations: 497 kB / 1.084 GB, free: 127.9 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01915/1.177, allocations: 16.54 MB / 1.1 GB, free: 111.2 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.889e-05/1.177, allocations: 56 kB / 1.1 GB, free: 111.1 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001368/1.177, allocations: 75.44 kB / 1.1 GB, free: 111.1 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.521e-05/1.177, allocations: 27.89 kB / 1.1 GB, free: 111.1 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0311/1.208, allocations: 24.03 MB / 1.124 GB, free: 86.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.323e-05/1.208, allocations: 10.2 kB / 1.124 GB, free: 86.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/1.209, allocations: 319.5 kB / 1.124 GB, free: 86.49 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01512/1.225, allocations: 8.254 MB / 1.132 GB, free: 78.2 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007897/1.225, allocations: 108 kB / 1.132 GB, free: 78.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05637/1.282, allocations: 71.49 MB / 1.202 GB, free: 5.371 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.282, allocations: 11.94 kB / 1.202 GB, free: 5.359 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02768/1.309, allocations: 21.3 MB / 1.223 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003108/1.312, allocations: 1.305 MB / 1.224 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008925/1.313, allocations: 115.9 kB / 1.224 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002163/1.316, allocations: 283.6 kB / 1.224 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001645/1.317, allocations: 0.5528 MB / 1.225 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003114/1.318, allocations: 152 kB / 1.225 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002102/1.32, allocations: 1.771 MB / 1.227 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.7e-07/1.32, allocations: 0 / 1.227 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00759/1.327, allocations: 2.461 MB / 1.229 GB, free: 9.082 MB / 0.7917 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.3006/1.628, allocations: 22 MB / 1.251 GB, free: 235.3 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01747/1.645, allocations: 13.71 MB / 1.264 GB, free: 233.4 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/1.645, allocations: 2.797 kB / 1.264 GB, free: 233.4 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.01254/1.658, allocations: 9.013 MB / 1.273 GB, free: 229.4 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004956/1.663, allocations: 1.39 MB / 1.274 GB, free: 229 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09547/1.758, allocations: 70.01 MB / 1.343 GB, free: 193.9 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004832/1.763, allocations: 4.395 MB / 1.347 GB, free: 189.5 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002042/1.765, allocations: 0.7449 MB / 1.348 GB, free: 188.8 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001763/1.767, allocations: 2.613 MB / 1.35 GB, free: 186.1 MB / 0.7917 GB Notification: Performance of SimCode: time 1.633e-06/1.767, allocations: 0 / 1.35 GB, free: 186.1 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4302/2.197, allocations: 208.9 MB / 1.554 GB, free: 226.9 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/14.44, allocations: 6.531 kB / 1.554 GB, free: 226.9 MB / 0.7917 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_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_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: 17.35149294603616] Failed to read output from testmodel.py, exit status != 0: 14.601722325198352 14.610196918 14.223614975 Calling exit ...