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.001763/0.001763, 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.002196/0.002196, allocations: 213.7 kB / 22.25 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.777 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.00258/0.00258, allocations: 289.8 kB / 312.7 MB, free: 2.605 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.215/1.215, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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="me",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="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.003018/0.003018, allocations: 109.4 kB / 0.7395 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1749, allocations: 95.39 MB / 0.8327 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04365/0.2185, allocations: 33.76 MB / 0.8656 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02122/0.2397, allocations: 11.54 MB / 0.8769 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003295/0.243, allocations: 206.5 kB / 0.8771 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01177/0.2548, allocations: 4.273 MB / 0.8813 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006093/0.2609, allocations: 2.088 MB / 0.8833 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0066/0.2675, allocations: 2.407 MB / 0.8857 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01073/0.2782, allocations: 8.464 MB / 0.8939 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01115/0.2894, allocations: 6.161 MB / 0.8999 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006073/0.2955, allocations: 3.876 MB / 0.9037 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00717/0.3026, allocations: 4.147 MB / 0.9078 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001954/0.3046, allocations: 0.7812 MB / 0.9085 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/0.3091, allocations: 1.9 MB / 0.9104 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004351/0.3134, allocations: 3.145 MB / 0.9135 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005117/0.3186, allocations: 2.747 MB / 0.9161 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01483/0.3334, allocations: 12.06 MB / 0.9279 GB, free: 6.426 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3334, allocations: 0 / 0.9279 GB, free: 6.426 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3334, allocations: 4 kB / 0.9279 GB, free: 6.422 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002834/0.3337, allocations: 0 / 0.9279 GB, free: 6.422 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.01357/0.3473, allocations: 5.859 MB / 0.9337 GB, free: 0.5 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3473, allocations: 9.344 kB / 0.9337 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001695/0.349, allocations: 0.8051 MB / 0.9345 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006297/0.3553, allocations: 1.094 MB / 0.9355 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009471/0.3648, allocations: 3.415 MB / 0.9389 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004518/0.3652, allocations: 415.5 kB / 0.9392 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002201/0.3674, allocations: 0.5393 MB / 0.9398 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.3889, allocations: 9.38 MB / 0.9489 GB, free: 384 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003069/0.3892, allocations: 31.75 kB / 0.949 GB, free: 352 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001608/0.3908, allocations: 239.9 kB / 0.9492 GB, free: 112 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004654/0.3913, allocations: 346.8 kB / 0.9495 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.4059, allocations: 6.818 MB / 0.9562 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3869/0.7928, allocations: 25.13 MB / 0.9807 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.7965, allocations: 2.297 MB / 0.983 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002377/0.7989, allocations: 1.775 MB / 0.9847 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-05/0.799, allocations: 18.62 kB / 0.9847 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.799, allocations: 50.5 kB / 0.9848 GB, free: 126.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 4.228e-06/0.799, allocations: 0 / 0.9848 GB, free: 126.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02704/0.8261, allocations: 9.678 MB / 0.9942 GB, free: 123.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.8261, allocations: 74.97 kB / 0.9943 GB, free: 123.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002955/0.8291, allocations: 1.566 MB / 0.9958 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.8293, allocations: 55.45 kB / 0.9959 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00162/0.8309, allocations: 2.325 MB / 0.9981 GB, free: 121.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007808/0.8317, allocations: 0.66 MB / 0.9988 GB, free: 121.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006104/0.8323, allocations: 406.4 kB / 0.9992 GB, free: 121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.981e-05/0.8324, allocations: 306.2 kB / 0.9995 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.8339, allocations: 1.18 MB / 1.001 GB, free: 120.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.8357, allocations: 1.88 MB / 1.002 GB, free: 119 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/0.8392, allocations: 3.37 MB / 1.006 GB, free: 117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-05/0.8392, allocations: 11.62 kB / 1.006 GB, free: 117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007006/0.8462, allocations: 4.541 MB / 1.01 GB, free: 115.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.8463, allocations: 14.97 kB / 1.01 GB, free: 115.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.8463, allocations: 23.5 kB / 1.01 GB, free: 115.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/0.8496, allocations: 1.579 MB / 1.012 GB, free: 114.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.8508, allocations: 358.2 kB / 1.012 GB, free: 114.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/0.8693, allocations: 17.95 MB / 1.03 GB, free: 100 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.8713, allocations: 115.9 kB / 1.03 GB, free: 99.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.8715, allocations: 103.7 kB / 1.03 GB, free: 99.82 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.002646/0.8741, allocations: 1.899 MB / 1.032 GB, free: 97.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004951/0.8746, allocations: 234.5 kB / 1.032 GB, free: 97.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00563/0.8803, allocations: 4.039 MB / 1.036 GB, free: 93.62 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.8803, allocations: 20 kB / 1.036 GB, free: 93.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.126e-05/0.8803, allocations: 16 kB / 1.036 GB, free: 93.58 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.8803, allocations: 11.95 kB / 1.036 GB, free: 93.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/0.894, allocations: 8.667 MB / 1.044 GB, free: 84.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.894, allocations: 4 kB / 1.044 GB, free: 84.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007736/0.8948, allocations: 187.7 kB / 1.045 GB, free: 84.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/0.8978, allocations: 1.344 MB / 1.046 GB, free: 83.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.8979, allocations: 36 kB / 1.046 GB, free: 83.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01659/0.9145, allocations: 16.74 MB / 1.062 GB, free: 66.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.9145, allocations: 4 kB / 1.062 GB, free: 66.05 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005832/0.9203, allocations: 4.036 MB / 1.066 GB, free: 61.92 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/0.9217, allocations: 478.3 kB / 1.067 GB, free: 61.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003171/0.922, allocations: 43.94 kB / 1.067 GB, free: 61.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009439/0.923, allocations: 87.89 kB / 1.067 GB, free: 61.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/0.9234, allocations: 165.6 kB / 1.067 GB, free: 61.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.89e-05/0.9235, allocations: 51.98 kB / 1.067 GB, free: 61.11 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001063/0.9245, allocations: 1.001 MB / 1.068 GB, free: 60.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.9245, allocations: 0 / 1.068 GB, free: 60.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00296/0.9275, allocations: 0.9921 MB / 1.069 GB, free: 59.09 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.005537/0.933, allocations: 4.629 MB / 1.073 GB, free: 54.37 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005578/0.9386, allocations: 4.166 MB / 1.078 GB, free: 50.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.9386, allocations: 0 / 1.078 GB, free: 50.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003506/0.9421, allocations: 2.575 MB / 1.08 GB, free: 47.54 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/0.9453, allocations: 0.8012 MB / 1.081 GB, free: 46.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03729/0.9826, allocations: 27.01 MB / 1.107 GB, free: 18.72 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003779/0.9864, allocations: 3.043 MB / 1.11 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001257/0.9876, allocations: 463.9 kB / 1.111 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/0.9892, allocations: 1.788 MB / 1.112 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of SimCode: time 1.192e-06/0.9892, allocations: 0 / 1.112 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1599/1.149, allocations: 78.61 MB / 1.189 GB, free: 15.75 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.74, allocations: 6.109 kB / 1.189 GB, free: 15.75 MB / 0.795 GB " [Timeout remaining time 645] (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: 19.240436051040888] Failed to read output from testmodel.py, exit status != 0: 14.89504799991846 14.925321647 14.586415475999999 Calling exit ...