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.001363/0.001363, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00154/0.00154, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.98 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.002549/0.002549, allocations: 294.3 kB / 312.7 MB, free: 2.887 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.193/1.193, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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.002832/0.002832, allocations: 109.2 kB / 0.7396 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1835, allocations: 95.39 MB / 0.8328 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.06916/0.2527, allocations: 43.03 MB / 0.8748 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02669/0.2794, allocations: 15.77 MB / 0.8902 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004249/0.2836, allocations: 254 kB / 0.8904 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0125/0.2961, allocations: 4.669 MB / 0.895 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008078/0.3042, allocations: 2.923 MB / 0.8978 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007937/0.3121, allocations: 3.263 MB / 0.901 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0153/0.3274, allocations: 11.42 MB / 0.9122 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01171/0.3391, allocations: 6.783 MB / 0.9188 GB, free: 160 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009349/0.3485, allocations: 4.97 MB / 0.9236 GB, free: 11.17 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.011/0.3595, allocations: 5.756 MB / 0.9293 GB, free: 5.398 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003456/0.3629, allocations: 0.9492 MB / 0.9302 GB, free: 4.449 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006084/0.369, allocations: 2.071 MB / 0.9322 GB, free: 2.375 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.005891/0.3749, allocations: 3.788 MB / 0.9359 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007446/0.3824, allocations: 4.295 MB / 0.9401 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01764/0.4, allocations: 14.32 MB / 0.9541 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.4, allocations: 0 / 0.9541 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4, allocations: 0 / 0.9541 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004875/0.4005, 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.02154/0.422, allocations: 7.72 MB / 0.9616 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4221, allocations: 9.344 kB / 0.9616 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002077/0.4241, allocations: 0.8994 MB / 0.9625 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.4343, allocations: 1.554 MB / 0.964 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.4455, allocations: 4.382 MB / 0.9683 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004137/0.4459, allocations: 452.5 kB / 0.9687 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00189/0.4478, allocations: 0.6017 MB / 0.9693 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02416/0.472, allocations: 10.68 MB / 0.9798 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002269/0.4722, allocations: 27.81 kB / 0.9798 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001459/0.4737, allocations: 263.9 kB / 0.98 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4076/0.8813, allocations: 0.7706 MB / 0.9808 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.9007, allocations: 8.561 MB / 0.9892 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05747/0.9582, allocations: 46.26 MB / 1.034 GB, free: 87.88 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/0.9626, allocations: 3.982 MB / 1.038 GB, free: 85.71 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003806/0.9664, allocations: 3.365 MB / 1.042 GB, free: 83.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.9667, allocations: 40.16 kB / 1.042 GB, free: 83.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.9667, allocations: 76.06 kB / 1.042 GB, free: 83.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 4.739e-06/0.9667, allocations: 3.938 kB / 1.042 GB, free: 83.83 MB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 0.4577/1.424, allocations: 121.1 MB / 1.16 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.425, allocations: 111.9 kB / 1.16 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004689/1.429, allocations: 2.682 MB / 1.163 GB, free: 8.238 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.00123/1.43, allocations: 125.7 kB / 1.163 GB, free: 8.109 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002389/1.433, allocations: 2.749 MB / 1.165 GB, free: 5.543 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002923/1.436, allocations: 2.052 MB / 1.167 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001814/1.438, allocations: 0.9212 MB / 1.168 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.438, allocations: 313.1 kB / 1.169 GB, free: 2.281 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006399/1.444, allocations: 4.075 MB / 1.173 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007992/1.452, allocations: 5.023 MB / 1.178 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01729/1.469, allocations: 9.844 MB / 1.187 GB, free: 14.63 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.411e-05/1.469, allocations: 4 kB / 1.187 GB, free: 14.62 MB / 0.795 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04198/1.511, allocations: 16.74 MB / 1.203 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/1.511, allocations: 16 kB / 1.203 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/1.512, allocations: 20 kB / 1.204 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03174/1.543, allocations: 9.088 MB / 1.212 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/1.546, allocations: 0.5226 MB / 1.213 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.117/1.663, allocations: 75.91 MB / 1.287 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004739/1.667, allocations: 279.8 kB / 1.287 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006747/1.668, allocations: 192 kB / 1.287 GB, free: 6.434 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.004536/1.673, allocations: 2.43 MB / 1.29 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.674, allocations: 497 kB / 1.29 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04083/1.715, allocations: 16.53 MB / 1.306 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.597e-05/1.715, allocations: 59.94 kB / 1.307 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002021/1.715, allocations: 72 kB / 1.307 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001031/1.715, allocations: 27.89 kB / 1.307 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4244/2.139, allocations: 25.36 MB / 1.331 GB, free: 303 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.021e-05/2.14, allocations: 5.188 kB / 1.331 GB, free: 303 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/2.141, allocations: 322.9 kB / 1.332 GB, free: 303 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0294/2.171, allocations: 8.268 MB / 1.34 GB, free: 302.8 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00101/2.172, allocations: 110.1 kB / 1.34 GB, free: 302.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08339/2.255, allocations: 72.78 MB / 1.411 GB, free: 261.1 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/2.255, allocations: 8 kB / 1.411 GB, free: 261.1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03584/2.291, allocations: 21.31 MB / 1.432 GB, free: 239.6 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00369/2.295, allocations: 1.317 MB / 1.433 GB, free: 238.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009369/2.296, allocations: 104 kB / 1.433 GB, free: 238.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/2.299, allocations: 294.2 kB / 1.433 GB, free: 237.9 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001586/2.3, allocations: 0.553 MB / 1.434 GB, free: 237.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003421/2.301, allocations: 144.7 kB / 1.434 GB, free: 237.2 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00202/2.303, allocations: 1.772 MB / 1.436 GB, free: 235.4 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/2.303, allocations: 4 kB / 1.436 GB, free: 235.4 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.007313/2.31, allocations: 2.465 MB / 1.438 GB, free: 232.9 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.03501/2.345, allocations: 22.01 MB / 1.46 GB, free: 210.6 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02092/2.366, allocations: 13.72 MB / 1.473 GB, free: 196.6 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/2.366, allocations: 10.69 kB / 1.473 GB, free: 196.6 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01432/2.38, allocations: 9.026 MB / 1.482 GB, free: 187.5 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005166/2.385, allocations: 1.404 MB / 1.483 GB, free: 186.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1094/2.495, allocations: 70 MB / 1.552 GB, free: 114.5 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004815/2.499, allocations: 4.897 MB / 1.556 GB, free: 109.6 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002457/2.502, allocations: 0.7448 MB / 1.557 GB, free: 108.8 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002526/2.504, allocations: 2.608 MB / 1.56 GB, free: 106.2 MB / 0.92 GB Notification: Performance of SimCode: time 1.153e-06/2.504, allocations: 0 / 1.56 GB, free: 106.2 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6578/3.162, allocations: 204.1 MB / 1.759 GB, free: 258.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.74/25.9, allocations: 12.06 kB / 1.759 GB, free: 258.5 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 & 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: 30.289836341999035] Failed to read output from testmodel.py, exit status != 0: 26.10446159300045 26.11445635 25.711917313 Calling exit ...