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.00122/0.00122, allocations: 107.8 kB / 16.45 MB, free: 6.453 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.001324/0.001324, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.384/1.384, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] 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.002395/0.002395, allocations: 287.3 kB / 309.1 MB, free: 3.969 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.153/1.153, allocations: 180.9 MB / 0.5333 GB, free: 13.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 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.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.002774/0.002774, allocations: 109.1 kB / 0.7343 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1521, allocations: 95.34 MB / 0.8274 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0478/0.1999, allocations: 41.83 MB / 0.8682 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02567/0.2256, allocations: 15.32 MB / 0.8832 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004194/0.2298, allocations: 250.1 kB / 0.8834 GB, free: 292 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01146/0.2412, allocations: 4.529 MB / 0.8879 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007932/0.2491, allocations: 2.927 MB / 0.8907 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007977/0.2571, allocations: 3.187 MB / 0.8938 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01505/0.2722, allocations: 11.41 MB / 0.905 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01298/0.2852, allocations: 9.232 MB / 0.914 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008313/0.2935, allocations: 4.97 MB / 0.9188 GB, free: 11.82 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008999/0.3025, allocations: 5.752 MB / 0.9245 GB, free: 6.051 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002166/0.3046, allocations: 0.9492 MB / 0.9254 GB, free: 5.102 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.309, allocations: 2.075 MB / 0.9274 GB, free: 3.023 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004271/0.3133, allocations: 3.784 MB / 0.9311 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00593/0.3192, allocations: 4.295 MB / 0.9353 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01539/0.3346, allocations: 14.32 MB / 0.9493 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.3346, allocations: 7.938 kB / 0.9493 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3346, allocations: 0 / 0.9493 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003203/0.3349, allocations: 0 / 0.9493 GB, free: 12.55 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.0194/0.3543, allocations: 7.779 MB / 0.9569 GB, free: 4.676 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3544, allocations: 12.03 kB / 0.9569 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001555/0.3559, allocations: 0.911 MB / 0.9578 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00955/0.3655, allocations: 1.55 MB / 0.9593 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008617/0.3741, allocations: 4.466 MB / 0.9637 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003402/0.3744, allocations: 452.5 kB / 0.9641 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/0.376, allocations: 0.6017 MB / 0.9647 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02077/0.3967, allocations: 10.68 MB / 0.9751 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/0.3969, allocations: 31.72 kB / 0.9751 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008107/0.3977, allocations: 267.9 kB / 0.9754 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002977/0.4007, allocations: 0.7729 MB / 0.9761 GB, free: 480 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3427/0.7434, allocations: 8.554 MB / 0.9845 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04749/0.7909, allocations: 46.62 MB / 1.03 GB, free: 88.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004652/0.7956, allocations: 3.978 MB / 1.034 GB, free: 86.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003945/0.7995, allocations: 3.369 MB / 1.037 GB, free: 84.79 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.7998, allocations: 39.84 kB / 1.037 GB, free: 84.79 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.7998, allocations: 75.06 kB / 1.037 GB, free: 84.72 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 5.922e-06/0.7998, allocations: 0 / 1.037 GB, free: 84.72 MB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 0.497/1.297, allocations: 122.6 MB / 1.157 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.531e-05/1.297, allocations: 111.9 kB / 1.157 GB, free: 9.859 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003975/1.301, allocations: 2.684 MB / 1.16 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001006/1.302, allocations: 125.7 kB / 1.16 GB, free: 7.066 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002195/1.304, allocations: 2.751 MB / 1.163 GB, free: 4.504 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002537/1.307, allocations: 2.054 MB / 1.165 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001966/1.309, allocations: 0.9251 MB / 1.165 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.309, allocations: 308.9 kB / 1.166 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006423/1.315, allocations: 4.075 MB / 1.17 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007236/1.322, allocations: 5.019 MB / 1.175 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01528/1.338, allocations: 9.851 MB / 1.184 GB, free: 13.58 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/1.338, allocations: 8 kB / 1.184 GB, free: 13.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04044/1.378, allocations: 16.74 MB / 1.201 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/1.378, allocations: 16 kB / 1.201 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/1.378, allocations: 20 kB / 1.201 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03294/1.411, allocations: 9.087 MB / 1.21 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/1.414, allocations: 0.5187 MB / 1.21 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.118/1.532, allocations: 77.03 MB / 1.285 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005411/1.537, allocations: 275.8 kB / 1.286 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009693/1.538, allocations: 192 kB / 1.286 GB, free: 3.988 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.004742/1.543, allocations: 2.425 MB / 1.288 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/1.544, allocations: 496.9 kB / 1.289 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04176/1.586, allocations: 16.54 MB / 1.305 GB, free: 384 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.559e-05/1.586, allocations: 59.98 kB / 1.305 GB, free: 324 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002012/1.586, allocations: 83.92 kB / 1.305 GB, free: 240 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/1.586, allocations: 23.91 kB / 1.305 GB, free: 216 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3819/1.968, allocations: 25.37 MB / 1.33 GB, free: 305.4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.245e-05/1.968, allocations: 6.688 kB / 1.33 GB, free: 305.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/1.97, allocations: 321.9 kB / 1.33 GB, free: 305.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03045/2.001, allocations: 8.276 MB / 1.338 GB, free: 305.2 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001228/2.002, allocations: 107.8 kB / 1.338 GB, free: 305.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08344/2.085, allocations: 73.9 MB / 1.41 GB, free: 258 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/2.085, allocations: 8 kB / 1.41 GB, free: 258 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03652/2.122, allocations: 21.32 MB / 1.431 GB, free: 236.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003235/2.125, allocations: 1.38 MB / 1.433 GB, free: 235.1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/2.126, allocations: 112 kB / 1.433 GB, free: 234.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/2.13, allocations: 283.6 kB / 1.433 GB, free: 234.7 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001929/2.132, allocations: 0.5246 MB / 1.433 GB, free: 234.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000497/2.132, allocations: 148 kB / 1.434 GB, free: 234 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002033/2.134, allocations: 1.776 MB / 1.435 GB, free: 232.2 MB / 0.92 GB Notification: Performance of sort global known variables: time 6.1e-08/2.134, allocations: 0 / 1.435 GB, free: 232.2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006584/2.141, allocations: 2.465 MB / 1.438 GB, free: 229.8 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.03563/2.176, allocations: 22.03 MB / 1.459 GB, free: 207.4 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02155/2.198, allocations: 13.72 MB / 1.473 GB, free: 193.5 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/2.198, allocations: 4 kB / 1.473 GB, free: 193.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01549/2.213, allocations: 9.042 MB / 1.481 GB, free: 184.3 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006479/2.22, allocations: 1.396 MB / 1.483 GB, free: 183 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.111/2.331, allocations: 69.83 MB / 1.551 GB, free: 111.5 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005309/2.336, allocations: 4.897 MB / 1.556 GB, free: 106.6 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002199/2.338, allocations: 0.7448 MB / 1.556 GB, free: 105.8 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002484/2.341, allocations: 2.612 MB / 1.559 GB, free: 103.2 MB / 0.92 GB Notification: Performance of SimCode: time 8.92e-07/2.341, allocations: 0 / 1.559 GB, free: 103.2 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6374/2.978, allocations: 197.9 MB / 1.752 GB, free: 261.9 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.12/23.09, allocations: 0 / 1.752 GB, free: 261.9 MB / 0.9356 GB " [Timeout remaining time 637] (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: 27.217732631601393] Failed to read output from testmodel.py, exit status != 0: 23.273961098399013 23.292574592 22.954333202 Calling exit ...