Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001754/0.001754, 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.002443/0.002443, allocations: 211.3 kB / 22.24 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.468/1.468, 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.004063/0.004063, allocations: 287.1 kB / 312.7 MB, free: 2.617 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.28/1.28, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.003023/0.003023, allocations: 101.8 kB / 0.7395 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1701, allocations: 95.38 MB / 0.8327 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03819/0.2083, allocations: 29.27 MB / 0.8612 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02371/0.232, allocations: 13.2 MB / 0.8741 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/0.2358, allocations: 186.6 kB / 0.8743 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.009007/0.2448, allocations: 3.207 MB / 0.8774 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007735/0.2526, allocations: 2.755 MB / 0.8801 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00551/0.2581, allocations: 2.016 MB / 0.8821 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01083/0.2689, allocations: 7.641 MB / 0.8896 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007524/0.2764, allocations: 4.596 MB / 0.894 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006372/0.2828, allocations: 3.533 MB / 0.8975 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006379/0.2892, allocations: 3.352 MB / 0.9008 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001608/0.2908, allocations: 0.5977 MB / 0.9014 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/0.2947, allocations: 1.4 MB / 0.9027 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003335/0.298, allocations: 2.42 MB / 0.9051 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004842/0.3029, allocations: 2.342 MB / 0.9074 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.3149, allocations: 9.535 MB / 0.9167 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.3149, allocations: 7.922 kB / 0.9167 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3149, allocations: 0 / 0.9167 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000259/0.3151, allocations: 0 / 0.9167 GB, free: 1.887 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01138/0.3265, allocations: 5.193 MB / 0.9218 GB, free: 12.62 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.3266, allocations: 9.344 kB / 0.9218 GB, free: 12.62 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00103/0.3276, allocations: 0.6164 MB / 0.9224 GB, free: 11.99 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005717/0.3333, allocations: 1.02 MB / 0.9234 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006761/0.3401, allocations: 3.021 MB / 0.9263 GB, free: 7.852 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/0.3403, allocations: 316.8 kB / 0.9266 GB, free: 7.539 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009393/0.3413, allocations: 435.8 kB / 0.927 GB, free: 7.113 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/0.3556, allocations: 7.519 MB / 0.9344 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.3557, allocations: 19.83 kB / 0.9344 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005013/0.3562, allocations: 188 kB / 0.9346 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009471/0.3571, allocations: 372 kB / 0.9349 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00958/0.3667, allocations: 5.099 MB / 0.9399 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03225/0.399, allocations: 19.79 MB / 0.9592 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.4012, allocations: 1.314 MB / 0.9605 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.4031, allocations: 1.246 MB / 0.9617 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.696e-05/0.4032, allocations: 17.3 kB / 0.9618 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.4033, allocations: 51.88 kB / 0.9618 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=130): time 3.357e-06/0.4033, allocations: 0 / 0.9618 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199): time 0.4723/0.8756, allocations: 22.84 MB / 0.9841 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.8756, allocations: 72.88 kB / 0.9842 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00306/0.8787, allocations: 2.097 MB / 0.9862 GB, free: 132.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.8789, allocations: 61.73 kB / 0.9863 GB, free: 132.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.88, allocations: 2.063 MB / 0.9883 GB, free: 131.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005232/0.8805, allocations: 0.7083 MB / 0.989 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006178/0.8811, allocations: 421.6 kB / 0.9894 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.075e-05/0.8812, allocations: 301.9 kB / 0.9897 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.883, allocations: 1.429 MB / 0.9911 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/0.8855, allocations: 2.008 MB / 0.993 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005451/0.8909, allocations: 3.7 MB / 0.9966 GB, free: 126.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.891, allocations: 5.969 kB / 0.9967 GB, free: 126.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01173/0.9027, allocations: 5.601 MB / 1.002 GB, free: 124 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/0.9027, allocations: 19.81 kB / 1.002 GB, free: 124 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/0.9028, allocations: 17.59 kB / 1.002 GB, free: 124 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006332/0.9091, allocations: 2.074 MB / 1.004 GB, free: 123.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.9106, allocations: 378.9 kB / 1.005 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02847/0.9391, allocations: 36.28 MB / 1.04 GB, free: 91.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/0.9417, allocations: 123.9 kB / 1.04 GB, free: 91.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.9419, allocations: 92 kB / 1.04 GB, free: 91.39 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.001957/0.9439, allocations: 1.51 MB / 1.042 GB, free: 89.88 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004306/0.9443, allocations: 302.2 kB / 1.042 GB, free: 89.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008306/0.9526, allocations: 5.147 MB / 1.047 GB, free: 84.37 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.9526, allocations: 20 kB / 1.047 GB, free: 84.35 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.46e-05/0.9526, allocations: 16 kB / 1.047 GB, free: 84.33 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.9527, allocations: 11.95 kB / 1.047 GB, free: 84.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.9667, allocations: 9.093 MB / 1.056 GB, free: 75.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.9667, allocations: 8 kB / 1.056 GB, free: 75.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/0.9675, allocations: 215.6 kB / 1.056 GB, free: 74.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004921/0.9724, allocations: 1.826 MB / 1.058 GB, free: 72.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.9726, allocations: 47.94 kB / 1.058 GB, free: 72.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02725/0.9998, allocations: 35.3 MB / 1.092 GB, free: 35.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.9998, allocations: 11.94 kB / 1.092 GB, free: 35.61 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007529/1.007, allocations: 4.863 MB / 1.097 GB, free: 30.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/1.009, allocations: 0.5488 MB / 1.098 GB, free: 30.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003999/1.009, allocations: 44 kB / 1.098 GB, free: 30 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/1.011, allocations: 127.8 kB / 1.098 GB, free: 29.87 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005187/1.011, allocations: 205.4 kB / 1.098 GB, free: 29.67 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.011, allocations: 60 kB / 1.098 GB, free: 29.61 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001495/1.013, allocations: 1.374 MB / 1.099 GB, free: 28.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.013, allocations: 0 / 1.099 GB, free: 28.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003233/1.016, allocations: 1.051 MB / 1.1 GB, free: 27.18 MB / 0.7169 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007356/1.024, allocations: 5.469 MB / 1.106 GB, free: 21.55 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008131/1.032, allocations: 6.011 MB / 1.112 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.032, allocations: 0 / 1.112 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005401/1.037, allocations: 4.291 MB / 1.116 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003843/1.041, allocations: 0.9923 MB / 1.117 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05199/1.093, allocations: 30.74 MB / 1.147 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003787/1.097, allocations: 2.576 MB / 1.149 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001795/1.098, allocations: 0.5237 MB / 1.15 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/1.101, allocations: 1.671 MB / 1.152 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of SimCode: time 8.01e-07/1.101, allocations: 0 / 1.152 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2281/1.329, allocations: 94.55 MB / 1.244 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.8, allocations: 5.484 kB / 1.244 GB, free: 8.211 MB / 0.8419 GB " [Timeout remaining time 643] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.320918350014836] Failed to read output from testmodel.py, exit status != 0: 16.979635301977396 17.008795659 16.688635532 Calling exit ...