Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001695/0.001695, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002298/0.002298, allocations: 213.2 kB / 22.24 MB, free: 5.242 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.805 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.002544/0.002544, allocations: 291.9 kB / 312.7 MB, free: 2.633 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.241/1.241, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.002967/0.002967, allocations: 107 kB / 0.7395 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1823, allocations: 95.38 MB / 0.8327 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04998/0.2323, allocations: 36.41 MB / 0.8682 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02174/0.254, allocations: 11.12 MB / 0.8791 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003403/0.2574, allocations: 198.6 kB / 0.8793 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.2697, allocations: 4.387 MB / 0.8836 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007876/0.2776, allocations: 2.34 MB / 0.8858 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006208/0.2838, allocations: 2.17 MB / 0.888 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01246/0.2962, allocations: 9.273 MB / 0.897 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0134/0.3096, allocations: 6.341 MB / 0.9032 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008227/0.3178, allocations: 4.117 MB / 0.9072 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009041/0.3269, allocations: 4.466 MB / 0.9116 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002745/0.3296, allocations: 0.8242 MB / 0.9124 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005131/0.3348, allocations: 1.498 MB / 0.9139 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006042/0.3408, allocations: 3.235 MB / 0.917 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01064/0.3514, allocations: 2.973 MB / 0.9199 GB, free: 14.63 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01863/0.3701, allocations: 12.41 MB / 0.932 GB, free: 2.184 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3701, allocations: 0 / 0.932 GB, free: 2.184 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3701, allocations: 0 / 0.932 GB, free: 2.184 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000394/0.3705, allocations: 0 / 0.932 GB, free: 2.184 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0208/0.3913, allocations: 6.392 MB / 0.9383 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.3913, allocations: 13.88 kB / 0.9383 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003582/0.3949, allocations: 0.8333 MB / 0.9391 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00674/0.4017, allocations: 1.098 MB / 0.9402 GB, free: 9.77 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009882/0.4115, allocations: 3.572 MB / 0.9437 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005371/0.4121, allocations: 427.7 kB / 0.9441 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/0.4141, allocations: 0.5355 MB / 0.9446 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02354/0.4376, allocations: 10.28 MB / 0.9546 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002965/0.4379, allocations: 27.77 kB / 0.9547 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00208/0.44, allocations: 248 kB / 0.9549 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008085/0.4408, allocations: 426.8 kB / 0.9553 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01703/0.4578, allocations: 7.116 MB / 0.9623 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.446/0.9038, allocations: 26.25 MB / 0.9879 GB, free: 117.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006322/0.9101, allocations: 2.896 MB / 0.9907 GB, free: 117.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004059/0.9142, allocations: 1.931 MB / 0.9926 GB, free: 117.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.9143, allocations: 24.38 kB / 0.9926 GB, free: 117.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/0.9143, allocations: 63.98 kB / 0.9927 GB, free: 117.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 8.015e-06/0.9144, allocations: 3.984 kB / 0.9927 GB, free: 117.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.04151/0.9559, allocations: 10.28 MB / 1.003 GB, free: 114 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.9559, allocations: 73.34 kB / 1.003 GB, free: 113.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004342/0.9603, allocations: 2.057 MB / 1.005 GB, free: 113.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003815/0.9607, allocations: 64.69 kB / 1.005 GB, free: 113.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001872/0.9625, allocations: 2.478 MB / 1.007 GB, free: 111.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008696/0.9634, allocations: 0.7652 MB / 1.008 GB, free: 111.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.9646, allocations: 482.5 kB / 1.008 GB, free: 110.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.9646, allocations: 304.9 kB / 1.009 GB, free: 110.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/0.9674, allocations: 1.367 MB / 1.01 GB, free: 110 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003358/0.9708, allocations: 2.109 MB / 1.012 GB, free: 108.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00622/0.977, allocations: 3.766 MB / 1.016 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.599e-05/0.977, allocations: 3.625 kB / 1.016 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01059/0.9876, allocations: 5.031 MB / 1.021 GB, free: 103.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.9876, allocations: 15.12 kB / 1.021 GB, free: 103.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-05/0.9877, allocations: 19.81 kB / 1.021 GB, free: 103.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004511/0.9922, allocations: 1.591 MB / 1.022 GB, free: 103 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.9942, allocations: 461.2 kB / 1.023 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/1.012, allocations: 17.91 MB / 1.04 GB, free: 85.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/1.014, allocations: 147.9 kB / 1.04 GB, free: 85.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/1.014, allocations: 104 kB / 1.041 GB, free: 85.3 MB / 0.7169 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00267/1.017, allocations: 1.946 MB / 1.042 GB, free: 83.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006887/1.018, allocations: 302.2 kB / 1.043 GB, free: 83.04 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006012/1.024, allocations: 4.404 MB / 1.047 GB, free: 78.61 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/1.024, allocations: 21.5 kB / 1.047 GB, free: 78.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.744e-05/1.024, allocations: 19.94 kB / 1.047 GB, free: 78.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/1.024, allocations: 11.95 kB / 1.047 GB, free: 78.56 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/1.039, allocations: 9.168 MB / 1.056 GB, free: 69.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/1.039, allocations: 4 kB / 1.056 GB, free: 69.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000976/1.04, allocations: 231.6 kB / 1.056 GB, free: 69.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002913/1.043, allocations: 1.42 MB / 1.058 GB, free: 67.64 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/1.043, allocations: 40 kB / 1.058 GB, free: 67.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01787/1.061, allocations: 17.91 MB / 1.075 GB, free: 49.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.061, allocations: 15.88 kB / 1.075 GB, free: 49.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00638/1.067, allocations: 4.503 MB / 1.08 GB, free: 44.65 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/1.069, allocations: 0.5682 MB / 1.08 GB, free: 44.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006844/1.07, allocations: 43.98 kB / 1.08 GB, free: 44.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/1.072, allocations: 115.9 kB / 1.08 GB, free: 43.92 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004197/1.072, allocations: 193.3 kB / 1.08 GB, free: 43.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/1.072, allocations: 60 kB / 1.081 GB, free: 43.67 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001538/1.074, allocations: 1.319 MB / 1.082 GB, free: 42.35 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.074, allocations: 0 / 1.082 GB, free: 42.35 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003167/1.077, allocations: 1.141 MB / 1.083 GB, free: 41.21 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005544/1.082, allocations: 5.121 MB / 1.088 GB, free: 35.99 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005839/1.088, allocations: 4.547 MB / 1.092 GB, free: 31.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/1.088, allocations: 4 kB / 1.092 GB, free: 31.39 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003665/1.092, allocations: 2.795 MB / 1.095 GB, free: 28.55 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/1.096, allocations: 0.8965 MB / 1.096 GB, free: 27.69 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04353/1.139, allocations: 30.56 MB / 1.126 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00599/1.145, allocations: 3.167 MB / 1.129 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002182/1.147, allocations: 0.5556 MB / 1.129 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002928/1.15, allocations: 1.944 MB / 1.131 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of SimCode: time 1.132e-06/1.15, allocations: 0 / 1.131 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1775/1.328, allocations: 90.61 MB / 1.22 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/16.24, allocations: 13.55 kB / 1.22 GB, free: 12.96 MB / 0.8262 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.590034775901586] Failed to read output from testmodel.py, exit status != 0: 16.40644579194486 16.422898612 16.049118715 Calling exit ...