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.001755/0.001755, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001795/0.001795, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.75 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.002824/0.002824, allocations: 284.1 kB / 312.7 MB, free: 2.566 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.317/1.317, allocations: 180.6 MB / 0.5369 GB, free: 14.45 MB / 382.1 MB " [Timeout remaining time 178] 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.004372/0.004372, allocations: 103.5 kB / 0.7395 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1999, allocations: 95.38 MB / 0.8327 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05103/0.251, allocations: 39.11 MB / 0.8709 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0274/0.2784, allocations: 15.32 MB / 0.8858 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004324/0.2827, allocations: 246.1 kB / 0.8861 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01262/0.2953, allocations: 4.487 MB / 0.8904 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008223/0.3035, allocations: 2.927 MB / 0.8933 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008397/0.3119, allocations: 3.202 MB / 0.8964 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01533/0.3273, allocations: 11.41 MB / 0.9076 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01391/0.3412, allocations: 6.709 MB / 0.9141 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009314/0.3505, allocations: 4.997 MB / 0.919 GB, free: 15.54 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01027/0.3608, allocations: 5.412 MB / 0.9243 GB, free: 10.11 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003055/0.3638, allocations: 0.9531 MB / 0.9252 GB, free: 9.152 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006005/0.3698, allocations: 1.908 MB / 0.9271 GB, free: 7.242 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.006155/0.376, allocations: 3.78 MB / 0.9308 GB, free: 3.453 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.008532/0.3845, allocations: 3.518 MB / 0.9342 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0207/0.4052, allocations: 14.38 MB / 0.9482 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.4052, allocations: 4 kB / 0.9483 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4052, allocations: 0 / 0.9483 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0005256/0.4057, allocations: 0 / 0.9483 GB, free: 1.492 MB / 0.6856 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.02486/0.4306, allocations: 7.711 MB / 0.9558 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.4307, allocations: 13.34 kB / 0.9558 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003304/0.434, allocations: 0.8955 MB / 0.9567 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/0.4457, allocations: 1.557 MB / 0.9582 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/0.4593, allocations: 4.386 MB / 0.9625 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005386/0.4598, allocations: 452.5 kB / 0.9629 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002671/0.4625, allocations: 0.5939 MB / 0.9635 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02658/0.4891, allocations: 11.6 MB / 0.9748 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003101/0.4894, allocations: 23.83 kB / 0.9748 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002001/0.4914, allocations: 267.9 kB / 0.9751 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003301/0.4947, allocations: 0.7768 MB / 0.9758 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4521/0.9467, allocations: 8.536 MB / 0.9842 GB, free: 128.1 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05514/1.002, allocations: 31.46 MB / 1.015 GB, free: 109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005399/1.007, allocations: 3.966 MB / 1.019 GB, free: 106.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004805/1.012, allocations: 3.36 MB / 1.022 GB, free: 105.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000416/1.012, allocations: 37 kB / 1.022 GB, free: 105.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.228e-05/1.013, allocations: 80.41 kB / 1.022 GB, free: 105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 6.592e-06/1.013, allocations: 0 / 1.022 GB, free: 105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 0.4737/1.486, allocations: 121.1 MB / 1.14 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.486, allocations: 115.9 kB / 1.141 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003939/1.49, allocations: 2.717 MB / 1.143 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001015/1.491, allocations: 125.7 kB / 1.143 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002078/1.493, allocations: 2.752 MB / 1.146 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002499/1.496, allocations: 2.054 MB / 1.148 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001887/1.498, allocations: 0.9328 MB / 1.149 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.498, allocations: 305.1 kB / 1.149 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006411/1.504, allocations: 4.075 MB / 1.153 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00753/1.512, allocations: 5.019 MB / 1.158 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/1.528, allocations: 9.844 MB / 1.168 GB, free: 4.766 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.327e-05/1.528, allocations: 8 kB / 1.168 GB, free: 4.758 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04093/1.569, allocations: 16.74 MB / 1.184 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.103e-05/1.569, allocations: 17.88 kB / 1.184 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.575e-05/1.569, allocations: 20 kB / 1.184 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03307/1.602, allocations: 9.079 MB / 1.193 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/1.605, allocations: 0.5226 MB / 1.193 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1196/1.724, allocations: 74.65 MB / 1.266 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005372/1.73, allocations: 283.8 kB / 1.267 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009664/1.731, allocations: 188 kB / 1.267 GB, free: 13.85 MB / 0.8731 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.004442/1.735, allocations: 2.424 MB / 1.269 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.736, allocations: 0.4892 MB / 1.27 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04091/1.777, allocations: 16.54 MB / 1.286 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-05/1.777, allocations: 52 kB / 1.286 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002416/1.777, allocations: 75.94 kB / 1.286 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001315/1.778, allocations: 27.89 kB / 1.286 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05732/1.835, allocations: 24.01 MB / 1.309 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.783e-05/1.835, allocations: 8.125 kB / 1.309 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/1.837, allocations: 319.5 kB / 1.31 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03059/1.867, allocations: 8.258 MB / 1.318 GB, free: 9.238 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009347/1.868, allocations: 100 kB / 1.318 GB, free: 9.141 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4881/2.356, allocations: 71.52 MB / 1.388 GB, free: 283.2 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/2.357, allocations: 11.56 kB / 1.388 GB, free: 283.2 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03916/2.396, allocations: 21.31 MB / 1.409 GB, free: 264.8 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004085/2.4, allocations: 1.313 MB / 1.41 GB, free: 263.4 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001816/2.402, allocations: 107.4 kB / 1.41 GB, free: 263.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004314/2.406, allocations: 287.6 kB / 1.41 GB, free: 263.1 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00231/2.408, allocations: 0.5569 MB / 1.411 GB, free: 262.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006821/2.409, allocations: 144 kB / 1.411 GB, free: 262.4 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002674/2.412, allocations: 1.768 MB / 1.413 GB, free: 260.6 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/2.412, allocations: 2.688 kB / 1.413 GB, free: 260.6 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006945/2.418, allocations: 2.461 MB / 1.415 GB, free: 258.1 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.03646/2.455, allocations: 22.01 MB / 1.437 GB, free: 235.8 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02342/2.478, allocations: 13.74 MB / 1.45 GB, free: 221.9 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/2.478, allocations: 0 / 1.45 GB, free: 221.9 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01656/2.495, allocations: 9.027 MB / 1.459 GB, free: 212.8 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007646/2.503, allocations: 1.389 MB / 1.46 GB, free: 211.4 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1292/2.632, allocations: 69.91 MB / 1.528 GB, free: 139.9 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005505/2.637, allocations: 4.388 MB / 1.533 GB, free: 135.5 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00241/2.64, allocations: 0.7488 MB / 1.533 GB, free: 134.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002298/2.642, allocations: 2.608 MB / 1.536 GB, free: 132.1 MB / 0.92 GB Notification: Performance of SimCode: time 1.353e-06/2.642, allocations: 0 / 1.536 GB, free: 132.1 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.758/3.4, allocations: 209 MB / 1.74 GB, free: 283.9 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.84/23.24, allocations: 7.375 kB / 1.74 GB, free: 283.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.97366271726787] Failed to read output from testmodel.py, exit status != 0: 23.458400087896734 23.476464925 23.067304552 Calling exit ...