Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001351/0.001351, 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.001507/0.001507, allocations: 214.3 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.789 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.002559/0.002559, allocations: 283.5 kB / 312.7 MB, free: 2.602 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.294/1.294, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.002993/0.002993, allocations: 107.4 kB / 0.7395 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1774, allocations: 95.38 MB / 0.8327 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03035/0.2077, allocations: 22.25 MB / 0.8544 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01264/0.2204, allocations: 6.446 MB / 0.8607 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.2223, allocations: 127.1 kB / 0.8608 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004352/0.2266, allocations: 1.503 MB / 0.8623 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004745/0.2314, allocations: 1.945 MB / 0.8642 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003826/0.2352, allocations: 1.466 MB / 0.8656 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00828/0.2435, allocations: 6.897 MB / 0.8723 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006441/0.2499, allocations: 3.73 MB / 0.876 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004386/0.2543, allocations: 2.933 MB / 0.8788 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005804/0.2601, allocations: 3.563 MB / 0.8823 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.2615, allocations: 0.5273 MB / 0.8828 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/0.2644, allocations: 1.112 MB / 0.8839 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00343/0.2678, allocations: 2.529 MB / 0.8864 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004052/0.2719, allocations: 2.058 MB / 0.8884 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.2829, allocations: 8.589 MB / 0.8968 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2829, allocations: 4 kB / 0.8968 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2829, allocations: 0 / 0.8968 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002754/0.2832, allocations: 0 / 0.8968 GB, free: 6.387 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01114/0.2943, allocations: 4.464 MB / 0.9012 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.2944, allocations: 13.34 kB / 0.9012 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001387/0.2957, allocations: 0.5753 MB / 0.9017 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008709/0.3045, allocations: 1.699 MB / 0.9034 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006455/0.3109, allocations: 2.676 MB / 0.906 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.3112, allocations: 275.7 kB / 0.9063 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007708/0.3119, allocations: 368.2 kB / 0.9066 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.3244, allocations: 7.709 MB / 0.9141 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.743e-05/0.3245, allocations: 15.94 kB / 0.9142 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004224/0.3249, allocations: 155.9 kB / 0.9143 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006294/0.3256, allocations: 491.3 kB / 0.9148 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009819/0.3354, allocations: 5.689 MB / 0.9203 GB, free: 13.84 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/0.3677, allocations: 20.55 MB / 0.9404 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.3708, allocations: 2.012 MB / 0.9424 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003116/0.3739, allocations: 2.112 MB / 0.9444 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.374, allocations: 13.31 kB / 0.9444 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.374, allocations: 47.88 kB / 0.9445 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 3.487e-06/0.3741, allocations: 0 / 0.9445 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of matching and sorting (n=251): time 0.6633/1.037, allocations: 76.71 MB / 1.019 GB, free: 116.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/1.037, allocations: 77.41 kB / 1.019 GB, free: 116.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/1.039, allocations: 1.702 MB / 1.021 GB, free: 115.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003752/1.04, allocations: 69.7 kB / 1.021 GB, free: 115 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006991/1.04, allocations: 1.797 MB / 1.023 GB, free: 113.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006768/1.041, allocations: 0.8935 MB / 1.024 GB, free: 112.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008895/1.042, allocations: 485.4 kB / 1.024 GB, free: 112 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.662e-05/1.042, allocations: 301.1 kB / 1.025 GB, free: 111.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/1.045, allocations: 2.73 MB / 1.027 GB, free: 109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/1.048, allocations: 3.328 MB / 1.031 GB, free: 105.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00623/1.054, allocations: 6.397 MB / 1.037 GB, free: 98.78 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/1.054, allocations: 7.938 kB / 1.037 GB, free: 98.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02713/1.081, allocations: 14.41 MB / 1.051 GB, free: 84.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/1.081, allocations: 12 kB / 1.051 GB, free: 84.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/1.081, allocations: 20 kB / 1.051 GB, free: 84.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02619/1.108, allocations: 9.199 MB / 1.06 GB, free: 75.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.109, allocations: 303.5 kB / 1.06 GB, free: 74.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06579/1.175, allocations: 51.04 MB / 1.11 GB, free: 23.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/1.178, allocations: 219.7 kB / 1.11 GB, free: 22.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005241/1.178, allocations: 104 kB / 1.11 GB, free: 22.76 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002508/1.181, allocations: 1.58 MB / 1.112 GB, free: 21.17 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005834/1.181, allocations: 258.6 kB / 1.112 GB, free: 20.92 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02794/1.209, allocations: 14.48 MB / 1.126 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/1.209, allocations: 25.92 kB / 1.126 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001338/1.209, allocations: 44 kB / 1.126 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.796e-05/1.209, allocations: 15.08 kB / 1.126 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04484/1.254, allocations: 19.52 MB / 1.145 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.263e-05/1.254, allocations: 9.219 kB / 1.145 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008706/1.255, allocations: 159.7 kB / 1.146 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03052/1.286, allocations: 8.977 MB / 1.154 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005126/1.286, allocations: 51.94 kB / 1.154 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08853/1.375, allocations: 50.61 MB / 1.204 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/1.375, allocations: 13.88 kB / 1.204 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03477/1.409, allocations: 14.09 MB / 1.218 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002977/1.412, allocations: 0.787 MB / 1.218 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008638/1.413, allocations: 51.98 kB / 1.218 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/1.416, allocations: 203.7 kB / 1.219 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001416/1.417, allocations: 253.3 kB / 1.219 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003122/1.418, allocations: 64 kB / 1.219 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00207/1.42, allocations: 1.125 MB / 1.22 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/1.42, allocations: 0.75 kB / 1.22 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005233/1.425, allocations: 1.609 MB / 1.222 GB, free: 3.797 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03471/1.46, allocations: 14.72 MB / 1.236 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02529/1.485, allocations: 10.2 MB / 1.246 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/1.485, allocations: 4 kB / 1.246 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0193/1.504, allocations: 7.006 MB / 1.253 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003771/1.508, allocations: 0.5679 MB / 1.253 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1111/1.619, allocations: 50.5 MB / 1.303 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003991/1.623, allocations: 2.677 MB / 1.305 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001183/1.624, allocations: 395.3 kB / 1.306 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/1.626, allocations: 1.464 MB / 1.307 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of SimCode: time 1.282e-06/1.626, allocations: 0 / 1.307 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5446/2.171, allocations: 129.3 MB / 1.433 GB, free: 251.9 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/17.26, allocations: 11 kB / 1.433 GB, free: 251.9 MB / 0.92 GB " [Timeout remaining time 643] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.66394378989935] Failed to read output from testmodel.py, exit status != 0: 17.42923825699836 17.448501463 17.161829915 Calling exit ...