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.001338/0.001338, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001587/0.001587, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002528/0.002528, allocations: 281.2 kB / 313.5 MB, free: 2.625 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.243/1.243, allocations: 180.6 MB / 0.5377 GB, free: 14.47 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="cs",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="cs",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.002783/0.002783, allocations: 106.2 kB / 0.7403 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.16, allocations: 95.39 MB / 0.8334 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04416/0.2042, allocations: 33.72 MB / 0.8664 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02062/0.2248, allocations: 11.51 MB / 0.8776 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003403/0.2282, allocations: 210.4 kB / 0.8778 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01173/0.24, allocations: 4.262 MB / 0.882 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005708/0.2457, allocations: 2.088 MB / 0.884 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005847/0.2515, allocations: 2.416 MB / 0.8864 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01076/0.2623, allocations: 8.457 MB / 0.8946 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009451/0.2717, allocations: 6.228 MB / 0.9007 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00612/0.2778, allocations: 3.872 MB / 0.9045 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006596/0.2844, allocations: 4.428 MB / 0.9088 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001463/0.2859, allocations: 0.7773 MB / 0.9096 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.2898, allocations: 1.911 MB / 0.9114 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003666/0.2935, allocations: 3.137 MB / 0.9145 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004571/0.2981, allocations: 2.755 MB / 0.9172 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0155/0.3136, allocations: 12.06 MB / 0.929 GB, free: 6.125 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.3136, allocations: 4 kB / 0.929 GB, free: 6.121 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3136, allocations: 0 / 0.929 GB, free: 6.121 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002897/0.3139, allocations: 3.984 kB / 0.929 GB, free: 6.117 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.01384/0.3277, allocations: 5.859 MB / 0.9347 GB, free: 200 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3277, allocations: 9.344 kB / 0.9347 GB, free: 192 kB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002055/0.328, allocations: 151.3 kB / 0.9348 GB, free: 40 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001892/0.3298, allocations: 0.809 MB / 0.9356 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006657/0.3365, allocations: 1.086 MB / 0.9367 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008173/0.3447, allocations: 3.419 MB / 0.94 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004989/0.3452, allocations: 411.5 kB / 0.9404 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/0.3472, allocations: 0.5393 MB / 0.9409 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/0.372, allocations: 9.384 MB / 0.9501 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002703/0.3722, allocations: 27.77 kB / 0.9501 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001527/0.3738, allocations: 236 kB / 0.9504 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004748/0.3742, allocations: 350.8 kB / 0.9507 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/0.3905, allocations: 6.83 MB / 0.9574 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4084/0.7989, allocations: 25.12 MB / 0.9819 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/0.8025, allocations: 2.287 MB / 0.9841 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002352/0.8048, allocations: 1.773 MB / 0.9859 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.523e-05/0.8049, allocations: 16.92 kB / 0.9859 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.805, allocations: 56.16 kB / 0.9859 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 3.997e-06/0.805, allocations: 0 / 0.9859 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02541/0.8304, allocations: 9.692 MB / 0.9954 GB, free: 123.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.8304, allocations: 70.22 kB / 0.9955 GB, free: 123.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.8325, allocations: 1.535 MB / 0.997 GB, free: 123 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.8326, allocations: 55.64 kB / 0.997 GB, free: 123 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.8337, allocations: 2.321 MB / 0.9993 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004843/0.8342, allocations: 0.6561 MB / 0.9999 GB, free: 121.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005794/0.8348, allocations: 417.5 kB / 1 GB, free: 121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.145e-05/0.8348, allocations: 302.8 kB / 1.001 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.8363, allocations: 1.174 MB / 1.002 GB, free: 120.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.8381, allocations: 1.883 MB / 1.004 GB, free: 118.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.8412, allocations: 3.375 MB / 1.007 GB, free: 116.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.8412, allocations: 7.938 kB / 1.007 GB, free: 116.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006568/0.8478, allocations: 4.543 MB / 1.011 GB, free: 115.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.8478, allocations: 17.22 kB / 1.011 GB, free: 115.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.8478, allocations: 26.62 kB / 1.011 GB, free: 115.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003344/0.8512, allocations: 1.576 MB / 1.013 GB, free: 114.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.8522, allocations: 352.1 kB / 1.013 GB, free: 114.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/0.8692, allocations: 17.96 MB / 1.031 GB, free: 99.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.8711, allocations: 119.9 kB / 1.031 GB, free: 99.53 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.8713, allocations: 96 kB / 1.031 GB, free: 99.44 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 (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.002368/0.8737, allocations: 1.891 MB / 1.033 GB, free: 97.54 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/0.8741, allocations: 238.5 kB / 1.033 GB, free: 97.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/0.8795, allocations: 4.032 MB / 1.037 GB, free: 93.24 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.8795, allocations: 16 kB / 1.037 GB, free: 93.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.8795, allocations: 31.59 kB / 1.037 GB, free: 93.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.8796, allocations: 7.969 kB / 1.037 GB, free: 93.19 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.8916, allocations: 8.668 MB / 1.046 GB, free: 84.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.8916, allocations: 4 kB / 1.046 GB, free: 84.42 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/0.8923, allocations: 179.7 kB / 1.046 GB, free: 84.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/0.8954, allocations: 1.356 MB / 1.047 GB, free: 82.88 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.8955, allocations: 39.94 kB / 1.047 GB, free: 82.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/0.9113, allocations: 16.72 MB / 1.063 GB, free: 65.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.9113, allocations: 4 kB / 1.063 GB, free: 65.67 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/0.9166, allocations: 4.044 MB / 1.067 GB, free: 61.54 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009193/0.9176, allocations: 482.3 kB / 1.068 GB, free: 61.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.9178, allocations: 32 kB / 1.068 GB, free: 61.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/0.9187, allocations: 87.89 kB / 1.068 GB, free: 60.95 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003831/0.9191, allocations: 173.5 kB / 1.068 GB, free: 60.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.987e-05/0.9192, allocations: 47.94 kB / 1.068 GB, free: 60.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001077/0.9203, allocations: 1.005 MB / 1.069 GB, free: 59.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9203, allocations: 0 / 1.069 GB, free: 59.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002942/0.9232, allocations: 0.9883 MB / 1.07 GB, free: 58.71 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 (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.005334/0.9285, allocations: 4.626 MB / 1.075 GB, free: 53.99 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005307/0.9338, allocations: 4.17 MB / 1.079 GB, free: 49.78 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.9338, allocations: 0 / 1.079 GB, free: 49.78 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003248/0.9371, allocations: 2.582 MB / 1.081 GB, free: 47.15 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/0.9401, allocations: 0.7926 MB / 1.082 GB, free: 46.42 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03368/0.9738, allocations: 27.01 MB / 1.108 GB, free: 18.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002977/0.9768, allocations: 3.035 MB / 1.111 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001157/0.9779, allocations: 467.8 kB / 1.112 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/0.9794, allocations: 1.788 MB / 1.114 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of SimCode: time 1.152e-06/0.9794, allocations: 4 kB / 1.114 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.182/1.161, allocations: 79.07 MB / 1.191 GB, free: 14.93 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/17.26, allocations: 7.984 kB / 1.191 GB, free: 14.92 MB / 0.795 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 22.054309983039275] Failed to read output from testmodel.py, exit status != 0: 17.469827807042748 17.495192477 17.176815979 Calling exit ...