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.001258/0.001258, 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.001456/0.001456, allocations: 218.8 kB / 22.25 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 8 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.002589/0.002589, allocations: 280.9 kB / 312.7 MB, free: 2.82 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.224/1.224, allocations: 180.6 MB / 0.5369 GB, free: 13.07 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.002864/0.002864, allocations: 103.2 kB / 0.7396 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1787, allocations: 95.39 MB / 0.8328 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0473/0.226, allocations: 39.79 MB / 0.8716 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01949/0.2455, allocations: 11.45 MB / 0.8828 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003214/0.2487, allocations: 202.6 kB / 0.883 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01192/0.2606, allocations: 4.57 MB / 0.8874 GB, free: 484 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007/0.2676, allocations: 2.324 MB / 0.8897 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006085/0.2737, allocations: 2.247 MB / 0.8919 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.2856, allocations: 9.273 MB / 0.901 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01048/0.296, allocations: 6.407 MB / 0.9072 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007983/0.304, allocations: 4.098 MB / 0.9112 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008536/0.3126, allocations: 4.755 MB / 0.9159 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0023/0.3149, allocations: 0.8242 MB / 0.9167 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003678/0.3185, allocations: 1.615 MB / 0.9183 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003741/0.3223, allocations: 3.235 MB / 0.9214 GB, free: 13.5 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005261/0.3275, allocations: 3.649 MB / 0.925 GB, free: 9.836 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01601/0.3436, allocations: 12.35 MB / 0.937 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3436, allocations: 0 / 0.937 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3436, allocations: 0 / 0.937 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003062/0.3439, allocations: 0 / 0.937 GB, free: 13.45 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01458/0.3584, allocations: 6.399 MB / 0.9433 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3585, allocations: 9.344 kB / 0.9433 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001556/0.36, allocations: 0.8255 MB / 0.9441 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005258/0.3653, allocations: 1.109 MB / 0.9452 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008415/0.3737, allocations: 3.56 MB / 0.9487 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/0.3741, allocations: 423.7 kB / 0.9491 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001562/0.3756, allocations: 0.5511 MB / 0.9496 GB, free: 452 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01954/0.3952, allocations: 9.377 MB / 0.9588 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001985/0.3954, allocations: 19.81 kB / 0.9588 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001752/0.3971, allocations: 248 kB / 0.959 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006356/0.3978, allocations: 414.9 kB / 0.9594 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/0.4126, allocations: 7.127 MB / 0.9664 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.393/0.8056, allocations: 40.71 MB / 1.006 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004728/0.8103, allocations: 2.912 MB / 1.009 GB, free: 103.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003106/0.8134, allocations: 1.94 MB / 1.011 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.8136, allocations: 26.12 kB / 1.011 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.8136, allocations: 60.05 kB / 1.011 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 3.537e-06/0.8136, allocations: 0 / 1.011 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02056/0.8342, allocations: 10.27 MB / 1.021 GB, free: 98.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.8342, allocations: 77.22 kB / 1.021 GB, free: 98.36 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.8363, allocations: 2.01 MB / 1.023 GB, free: 97.29 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.8365, allocations: 61.61 kB / 1.023 GB, free: 97.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.8376, allocations: 2.475 MB / 1.025 GB, free: 95.42 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/0.8381, allocations: 0.7639 MB / 1.026 GB, free: 94.86 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005833/0.8387, allocations: 481.5 kB / 1.027 GB, free: 94.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/0.8387, allocations: 313.1 kB / 1.027 GB, free: 94.28 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.8403, allocations: 1.374 MB / 1.028 GB, free: 93.56 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/0.8421, allocations: 2.099 MB / 1.03 GB, free: 91.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003444/0.8455, allocations: 3.769 MB / 1.034 GB, free: 89.33 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.8456, allocations: 8.188 kB / 1.034 GB, free: 89.33 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006354/0.8519, allocations: 5.03 MB / 1.039 GB, free: 86.65 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.8519, allocations: 12.72 kB / 1.039 GB, free: 86.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.852, allocations: 23.12 kB / 1.039 GB, free: 86.65 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002932/0.8549, allocations: 1.592 MB / 1.041 GB, free: 85.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.8563, allocations: 453.7 kB / 1.041 GB, free: 85.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/0.8727, allocations: 18.18 MB / 1.059 GB, free: 67.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.8747, allocations: 147.9 kB / 1.059 GB, free: 67.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.8748, allocations: 104 kB / 1.059 GB, free: 67.2 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.002347/0.8772, allocations: 1.942 MB / 1.061 GB, free: 65.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004126/0.8776, allocations: 310.2 kB / 1.061 GB, free: 64.94 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005698/0.8833, allocations: 4.396 MB / 1.065 GB, free: 60.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.8833, allocations: 20 kB / 1.066 GB, free: 60.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.8833, allocations: 20 kB / 1.066 GB, free: 60.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.8833, allocations: 11.95 kB / 1.066 GB, free: 60.46 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.8955, allocations: 9.591 MB / 1.075 GB, free: 50.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.8955, allocations: 4 kB / 1.075 GB, free: 50.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009196/0.8965, allocations: 239.6 kB / 1.075 GB, free: 50.53 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/0.8992, allocations: 1.419 MB / 1.077 GB, free: 49.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.8993, allocations: 44 kB / 1.077 GB, free: 49.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/0.9164, allocations: 18.19 MB / 1.094 GB, free: 30.42 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.9164, allocations: 4 kB / 1.094 GB, free: 30.42 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006214/0.9226, allocations: 4.503 MB / 1.099 GB, free: 25.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/0.9243, allocations: 0.5723 MB / 1.099 GB, free: 25.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006353/0.9249, allocations: 40 kB / 1.099 GB, free: 25.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/0.9264, allocations: 115.9 kB / 1.099 GB, free: 25.11 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004713/0.9269, allocations: 201.1 kB / 1.1 GB, free: 24.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.927, allocations: 64 kB / 1.1 GB, free: 24.85 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001546/0.9286, allocations: 1.315 MB / 1.101 GB, free: 23.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.9286, allocations: 0 / 1.101 GB, free: 23.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003347/0.9319, allocations: 1.145 MB / 1.102 GB, free: 22.38 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.005858/0.9378, allocations: 5.116 MB / 1.107 GB, free: 17.17 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006003/0.9438, allocations: 4.532 MB / 1.112 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.9438, allocations: 4 kB / 1.112 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003764/0.9475, allocations: 2.813 MB / 1.114 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/0.9514, allocations: 0.8981 MB / 1.115 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0478/0.9992, allocations: 30.57 MB / 1.145 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004706/1.004, allocations: 3.694 MB / 1.149 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001848/1.006, allocations: 0.5556 MB / 1.149 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002409/1.008, allocations: 1.948 MB / 1.151 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of SimCode: time 9.72e-07/1.008, allocations: 0 / 1.151 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1636/1.172, allocations: 88.24 MB / 1.237 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/17.2, allocations: 15.81 kB / 1.237 GB, free: 11.59 MB / 0.8419 GB " [Timeout remaining time 643] (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: 21.477026701002615] Failed to read output from testmodel.py, exit status != 0: 17.36291799600076 17.379043352 17.032127682 Calling exit ...