Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001814/0.001814, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002288/0.002288, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.781 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.002677/0.002677, allocations: 289.4 kB / 312.7 MB, free: 2.578 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.207/1.207, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.003069/0.003069, allocations: 102.4 kB / 0.7395 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1721, allocations: 95.39 MB / 0.8327 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04209/0.2142, allocations: 31.51 MB / 0.8634 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01889/0.2331, allocations: 10.28 MB / 0.8735 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.2358, allocations: 198.5 kB / 0.8737 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.2461, allocations: 3.728 MB / 0.8773 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005723/0.2518, allocations: 1.96 MB / 0.8792 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005742/0.2575, allocations: 2.138 MB / 0.8813 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009761/0.2673, allocations: 7.326 MB / 0.8885 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009346/0.2766, allocations: 5.092 MB / 0.8934 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005221/0.2819, allocations: 3.295 MB / 0.8967 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005787/0.2877, allocations: 3.449 MB / 0.9 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001726/0.2894, allocations: 0.6445 MB / 0.9007 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004081/0.2935, allocations: 1.654 MB / 0.9023 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003799/0.2973, allocations: 2.615 MB / 0.9048 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00496/0.3022, allocations: 2.342 MB / 0.9071 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.3153, allocations: 10.18 MB / 0.9171 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3153, allocations: 0 / 0.9171 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3153, allocations: 0 / 0.9171 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002678/0.3155, allocations: 0 / 0.9171 GB, free: 1.52 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01107/0.3266, allocations: 5.052 MB / 0.922 GB, free: 12.41 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3267, allocations: 9.344 kB / 0.922 GB, free: 12.4 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001156/0.3278, allocations: 0.6781 MB / 0.9227 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00519/0.333, allocations: 0.9852 MB / 0.9236 GB, free: 10.72 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007497/0.3405, allocations: 2.999 MB / 0.9266 GB, free: 7.652 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00033/0.3408, allocations: 353.6 kB / 0.9269 GB, free: 7.305 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009677/0.3418, allocations: 464.3 kB / 0.9273 GB, free: 6.852 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01438/0.3562, allocations: 7.972 MB / 0.9351 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/0.3563, allocations: 27.78 kB / 0.9351 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005364/0.3569, allocations: 200 kB / 0.9353 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000369/0.3572, allocations: 309 kB / 0.9356 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/0.3679, allocations: 5.706 MB / 0.9412 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03157/0.3995, allocations: 22.67 MB / 0.9633 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.4021, allocations: 1.553 MB / 0.9649 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.4037, allocations: 1.124 MB / 0.966 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.157e-05/0.4038, allocations: 13.31 kB / 0.966 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.4038, allocations: 47.88 kB / 0.966 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=133): time 1.254e-05/0.4038, allocations: 4 kB / 0.966 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of matching and sorting (n=136): time 0.01367/0.4175, allocations: 6.207 MB / 0.9721 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.4176, allocations: 68.72 kB / 0.9722 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.4195, allocations: 1.519 MB / 0.9736 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.874e-05/0.4196, allocations: 49.7 kB / 0.9737 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.4211, allocations: 2.069 MB / 0.9757 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004622/0.4216, allocations: 0.4996 MB / 0.9762 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005227/0.4221, allocations: 359.3 kB / 0.9765 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4222, allocations: 305.1 kB / 0.9768 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.4236, allocations: 0.9174 MB / 0.9777 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/0.4256, allocations: 1.589 MB / 0.9793 GB, free: 108 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3708/0.7964, allocations: 2.732 MB / 0.9819 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.7964, allocations: 8.766 kB / 0.9819 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006461/0.8028, allocations: 3.51 MB / 0.9854 GB, free: 129.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.8029, allocations: 14 kB / 0.9854 GB, free: 129.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.8029, allocations: 23.38 kB / 0.9854 GB, free: 129.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/0.8052, allocations: 0.8965 MB / 0.9863 GB, free: 129.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.8064, allocations: 354.5 kB / 0.9866 GB, free: 129.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01787/0.8243, allocations: 21.73 MB / 1.008 GB, free: 111.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.8259, allocations: 108.9 kB / 1.008 GB, free: 111.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.8261, allocations: 82.27 kB / 1.008 GB, free: 111.1 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002489/0.8286, allocations: 1.61 MB / 1.01 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003583/0.8289, allocations: 215.8 kB / 1.01 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00453/0.8335, allocations: 2.965 MB / 1.013 GB, free: 109.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.8335, allocations: 14.28 kB / 1.013 GB, free: 109.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.8335, allocations: 8.844 kB / 1.013 GB, free: 109.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.8335, allocations: 14.73 kB / 1.013 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009621/0.8431, allocations: 6.716 MB / 1.019 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.8431, allocations: 7.844 kB / 1.019 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007257/0.8438, allocations: 185.8 kB / 1.019 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00199/0.8458, allocations: 0.821 MB / 1.02 GB, free: 106.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/0.8459, allocations: 23.88 kB / 1.02 GB, free: 106.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.8591, allocations: 20.6 MB / 1.04 GB, free: 87 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.8591, allocations: 4 kB / 1.04 GB, free: 87 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/0.8633, allocations: 3.016 MB / 1.043 GB, free: 83.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009741/0.8642, allocations: 394.5 kB / 1.044 GB, free: 83.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.8645, allocations: 24 kB / 1.044 GB, free: 83.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008057/0.8653, allocations: 71.91 kB / 1.044 GB, free: 83.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003448/0.8656, allocations: 128.7 kB / 1.044 GB, free: 83.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.8657, allocations: 36 kB / 1.044 GB, free: 83.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009936/0.8667, allocations: 0.9756 MB / 1.045 GB, free: 82.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.8667, allocations: 4 kB / 1.045 GB, free: 82.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00237/0.8691, allocations: 0.7891 MB / 1.046 GB, free: 81.48 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003987/0.8731, allocations: 3.607 MB / 1.049 GB, free: 77.76 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004565/0.8776, allocations: 3.916 MB / 1.053 GB, free: 73.69 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.8776, allocations: 0 / 1.053 GB, free: 73.69 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002877/0.8805, allocations: 2.674 MB / 1.056 GB, free: 70.86 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/0.8835, allocations: 0.7363 MB / 1.056 GB, free: 70.17 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0273/0.9107, allocations: 22.52 MB / 1.078 GB, free: 46.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002612/0.9134, allocations: 2.569 MB / 1.081 GB, free: 44.06 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001203/0.9146, allocations: 453.9 kB / 1.081 GB, free: 43.62 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/0.9159, allocations: 1.538 MB / 1.083 GB, free: 42.08 MB / 0.7169 GB Notification: Performance of SimCode: time 1.041e-06/0.9159, allocations: 0 / 1.083 GB, free: 42.08 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/1.045, allocations: 65.78 MB / 1.147 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.6, allocations: 8.062 kB / 1.147 GB, free: 9.238 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.041655304841697] Failed to read output from testmodel.py, exit status != 0: 14.746612531132996 14.762936687 14.444478451 Calling exit ...