Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001514/0.001514, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001909/0.001909, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 8.027 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.002493/0.002493, allocations: 273.4 kB / 312.7 MB, free: 2.848 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.215/1.215, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.00294/0.00294, allocations: 104.9 kB / 0.7396 GB, free: 28.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1793, allocations: 95.39 MB / 0.8328 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04424/0.2236, allocations: 36.66 MB / 0.8686 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02052/0.2441, allocations: 11.98 MB / 0.8803 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003824/0.2479, allocations: 206.5 kB / 0.8804 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01181/0.2597, allocations: 4.448 MB / 0.8848 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005983/0.2657, allocations: 2.096 MB / 0.8868 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006701/0.2724, allocations: 2.468 MB / 0.8892 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01132/0.2837, allocations: 8.461 MB / 0.8975 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01018/0.2939, allocations: 6.235 MB / 0.9036 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006067/0.3, allocations: 3.845 MB / 0.9074 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007498/0.3075, allocations: 4.432 MB / 0.9117 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0016/0.3091, allocations: 0.7773 MB / 0.9124 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00425/0.3133, allocations: 2.059 MB / 0.9145 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00388/0.3172, allocations: 3.145 MB / 0.9175 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006474/0.3237, allocations: 3.396 MB / 0.9208 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01708/0.3408, allocations: 12.01 MB / 0.9326 GB, free: 2.066 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3408, allocations: 0 / 0.9326 GB, free: 2.066 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3408, allocations: 0 / 0.9326 GB, free: 2.066 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003204/0.3411, allocations: 0 / 0.9326 GB, free: 2.066 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.0141/0.3552, allocations: 5.871 MB / 0.9383 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.3552, allocations: 17.34 kB / 0.9383 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001842/0.3571, allocations: 0.8051 MB / 0.9391 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006221/0.3633, allocations: 1.086 MB / 0.9402 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008699/0.372, allocations: 3.415 MB / 0.9435 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004292/0.3724, allocations: 415.5 kB / 0.9439 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001967/0.3744, allocations: 0.5393 MB / 0.9444 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02175/0.3962, allocations: 9.079 MB / 0.9533 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002117/0.3964, allocations: 27.77 kB / 0.9533 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00107/0.3974, allocations: 236 kB / 0.9535 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004137/0.3979, allocations: 354.8 kB / 0.9539 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/0.4121, allocations: 6.826 MB / 0.9605 GB, free: 4.941 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4122/0.8243, allocations: 39.49 MB / 0.9991 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/0.8281, allocations: 2.305 MB / 1.001 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002403/0.8305, allocations: 1.774 MB / 1.003 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.8306, allocations: 22.56 kB / 1.003 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.8306, allocations: 57.3 kB / 1.003 GB, free: 131 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 3.908e-06/0.8306, allocations: 0 / 1.003 GB, free: 131 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02439/0.855, allocations: 9.689 MB / 1.013 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.855, allocations: 71.66 kB / 1.013 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.8572, allocations: 1.526 MB / 1.014 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.8574, allocations: 51.83 kB / 1.014 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.8586, allocations: 2.323 MB / 1.017 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005362/0.8592, allocations: 0.6654 MB / 1.017 GB, free: 127 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005734/0.8597, allocations: 412.9 kB / 1.018 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.264e-05/0.8598, allocations: 301.1 kB / 1.018 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.8612, allocations: 1.175 MB / 1.019 GB, free: 126 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.8629, allocations: 1.889 MB / 1.021 GB, free: 124.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.8661, allocations: 3.362 MB / 1.024 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.8662, allocations: 7.812 kB / 1.024 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006664/0.8728, allocations: 4.546 MB / 1.029 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.8729, allocations: 14.5 kB / 1.029 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.843e-05/0.8729, allocations: 22.88 kB / 1.029 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003465/0.8764, allocations: 1.583 MB / 1.03 GB, free: 120 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.8776, allocations: 356.5 kB / 1.03 GB, free: 119.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01812/0.8957, allocations: 18.2 MB / 1.048 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.8976, allocations: 119.9 kB / 1.048 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.8978, allocations: 92 kB / 1.048 GB, free: 106.3 MB / 0.7325 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002625/0.9004, allocations: 1.899 MB / 1.05 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005316/0.901, allocations: 237.9 kB / 1.051 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/0.9066, allocations: 4.043 MB / 1.054 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.9067, allocations: 18.44 kB / 1.055 GB, free: 100 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/0.9067, allocations: 20 kB / 1.055 GB, free: 100 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.9067, allocations: 7.969 kB / 1.055 GB, free: 100 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/0.9205, allocations: 9.406 MB / 1.064 GB, free: 90.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.9205, allocations: 7.938 kB / 1.064 GB, free: 90.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007324/0.9212, allocations: 179.7 kB / 1.064 GB, free: 90.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/0.9242, allocations: 1.35 MB / 1.065 GB, free: 88.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.9243, allocations: 36 kB / 1.065 GB, free: 88.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01614/0.9405, allocations: 16.95 MB / 1.082 GB, free: 71.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.9405, allocations: 11.94 kB / 1.082 GB, free: 71.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00563/0.9461, allocations: 4.04 MB / 1.086 GB, free: 67.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.9473, allocations: 484.1 kB / 1.086 GB, free: 66.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.9476, allocations: 43.88 kB / 1.086 GB, free: 66.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008482/0.9484, allocations: 87.89 kB / 1.086 GB, free: 66.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003802/0.9488, allocations: 169.5 kB / 1.087 GB, free: 66.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.232e-05/0.9489, allocations: 48 kB / 1.087 GB, free: 66.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001026/0.9499, allocations: 1.005 MB / 1.088 GB, free: 65.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9499, allocations: 0 / 1.088 GB, free: 65.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0028/0.9527, allocations: 0.9844 MB / 1.088 GB, free: 64.47 MB / 0.7325 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005287/0.958, allocations: 4.626 MB / 1.093 GB, free: 59.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005329/0.9633, allocations: 4.174 MB / 1.097 GB, free: 55.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.9633, allocations: 4 kB / 1.097 GB, free: 55.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003348/0.9667, allocations: 2.585 MB / 1.1 GB, free: 52.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/0.9698, allocations: 0.7843 MB / 1.1 GB, free: 52.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03434/1.004, allocations: 27.02 MB / 1.127 GB, free: 24.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003341/1.008, allocations: 3.573 MB / 1.13 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0013/1.009, allocations: 467.9 kB / 1.131 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/1.01, allocations: 1.788 MB / 1.132 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of SimCode: time 1.212e-06/1.01, allocations: 0 / 1.132 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1407/1.151, allocations: 76.54 MB / 1.207 GB, free: 6.355 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.7, allocations: 3.938 kB / 1.207 GB, free: 6.352 MB / 0.795 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.05438723900079] Failed to read output from testmodel.py, exit status != 0: 15.861831528000039 15.887063223 15.541427202 Calling exit ...