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.001319/0.001319, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001462/0.001462, allocations: 217 kB / 23.04 MB, free: 5.074 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.002501/0.002501, allocations: 285.8 kB / 313.5 MB, free: 2.801 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.26/1.26, allocations: 180.6 MB / 0.5377 GB, free: 13 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.002833/0.002833, allocations: 95.11 kB / 0.7404 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1694, allocations: 95.38 MB / 0.8335 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04517/0.2145, allocations: 36.66 MB / 0.8693 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02182/0.2364, allocations: 11.98 MB / 0.881 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003246/0.2396, allocations: 210.4 kB / 0.8812 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01187/0.2515, allocations: 4.454 MB / 0.8856 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006689/0.2582, allocations: 2.088 MB / 0.8876 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007229/0.2654, allocations: 2.468 MB / 0.89 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01266/0.2781, allocations: 8.461 MB / 0.8983 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01194/0.29, allocations: 6.243 MB / 0.9044 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006482/0.2965, allocations: 3.845 MB / 0.9081 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007907/0.3044, allocations: 4.416 MB / 0.9124 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002339/0.3067, allocations: 0.7812 MB / 0.9132 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005284/0.312, allocations: 2.063 MB / 0.9152 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004728/0.3167, allocations: 3.141 MB / 0.9183 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006542/0.3233, allocations: 3.396 MB / 0.9216 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01681/0.3401, allocations: 12.01 MB / 0.9333 GB, free: 1.961 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-05/0.3401, allocations: 11.92 kB / 0.9333 GB, free: 1.949 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3401, allocations: 0 / 0.9333 GB, free: 1.949 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003542/0.3405, allocations: 4 kB / 0.9333 GB, free: 1.945 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.01496/0.3554, allocations: 5.852 MB / 0.9391 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3555, allocations: 13.28 kB / 0.9391 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001613/0.3556, allocations: 151.3 kB / 0.9392 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001644/0.3573, allocations: 0.8089 MB / 0.94 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006049/0.3633, allocations: 1.094 MB / 0.9411 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007714/0.371, allocations: 3.415 MB / 0.9444 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004036/0.3714, allocations: 419.5 kB / 0.9448 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/0.3731, allocations: 0.5393 MB / 0.9453 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02061/0.3937, allocations: 9.075 MB / 0.9542 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002861/0.394, allocations: 31.81 kB / 0.9542 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00159/0.3956, allocations: 240 kB / 0.9545 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004446/0.396, allocations: 346.8 kB / 0.9548 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/0.4109, allocations: 6.822 MB / 0.9615 GB, free: 4.684 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3936/0.8045, allocations: 39.49 MB / 1 GB, free: 131 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/0.8078, allocations: 2.308 MB / 1.002 GB, free: 131 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/0.8101, allocations: 1.777 MB / 1.004 GB, free: 131 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.203e-05/0.8101, allocations: 18.92 kB / 1.004 GB, free: 131 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.8102, allocations: 51.59 kB / 1.004 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 3.536e-06/0.8102, allocations: 6 kB / 1.004 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02485/0.835, allocations: 9.688 MB / 1.014 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.8351, allocations: 71.28 kB / 1.014 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.8371, allocations: 1.523 MB / 1.015 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001576/0.8373, allocations: 56.83 kB / 1.015 GB, free: 128.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.8384, allocations: 2.327 MB / 1.017 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005133/0.8389, allocations: 0.6601 MB / 1.018 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000579/0.8395, allocations: 409.1 kB / 1.018 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.8395, allocations: 302.3 kB / 1.019 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.8409, allocations: 1.186 MB / 1.02 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.8426, allocations: 1.882 MB / 1.022 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/0.8457, allocations: 3.371 MB / 1.025 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.8457, allocations: 7.906 kB / 1.025 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006403/0.8521, allocations: 4.538 MB / 1.029 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/0.8522, allocations: 13.88 kB / 1.029 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.295e-05/0.8522, allocations: 22.28 kB / 1.03 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00352/0.8557, allocations: 1.59 MB / 1.031 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.857, allocations: 355.7 kB / 1.031 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/0.875, allocations: 18.21 MB / 1.049 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.8769, allocations: 111.9 kB / 1.049 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.8771, allocations: 104 kB / 1.049 GB, free: 106.1 MB / 0.7325 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.002477/0.8796, allocations: 1.898 MB / 1.051 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005218/0.8801, allocations: 238.5 kB / 1.051 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005725/0.8858, allocations: 4.032 MB / 1.055 GB, free: 99.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.8858, allocations: 20 kB / 1.055 GB, free: 99.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/0.8859, allocations: 16 kB / 1.055 GB, free: 99.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.8859, allocations: 11.95 kB / 1.055 GB, free: 99.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.8988, allocations: 9.404 MB / 1.065 GB, free: 90.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.8988, allocations: 4 kB / 1.065 GB, free: 90.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.8996, allocations: 184.2 kB / 1.065 GB, free: 90.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/0.9025, allocations: 1.353 MB / 1.066 GB, free: 88.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.9027, allocations: 36 kB / 1.066 GB, free: 88.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01611/0.9188, allocations: 16.95 MB / 1.083 GB, free: 71.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9188, allocations: 11.22 kB / 1.083 GB, free: 71.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005577/0.9243, allocations: 4.036 MB / 1.087 GB, free: 67.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.9255, allocations: 484.5 kB / 1.087 GB, free: 66.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/0.9258, allocations: 32 kB / 1.087 GB, free: 66.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009633/0.9268, allocations: 87.89 kB / 1.087 GB, free: 66.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003894/0.9272, allocations: 177.5 kB / 1.087 GB, free: 66.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.726e-05/0.9273, allocations: 43.44 kB / 1.087 GB, free: 66.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001095/0.9284, allocations: 1.001 MB / 1.088 GB, free: 65.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9284, allocations: 3.938 kB / 1.088 GB, free: 65.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002992/0.9314, allocations: 0.9922 MB / 1.089 GB, free: 64.3 MB / 0.7325 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.005533/0.9369, allocations: 4.622 MB / 1.094 GB, free: 59.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00567/0.9426, allocations: 4.176 MB / 1.098 GB, free: 55.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.9426, allocations: 4.312 kB / 1.098 GB, free: 55.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003549/0.9461, allocations: 2.581 MB / 1.101 GB, free: 52.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/0.9496, allocations: 0.795 MB / 1.101 GB, free: 52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03815/0.9878, allocations: 27.01 MB / 1.128 GB, free: 23.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003872/0.9916, allocations: 3.576 MB / 1.131 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001316/0.993, allocations: 467.9 kB / 1.132 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/0.9949, allocations: 1.784 MB / 1.133 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of SimCode: time 1.273e-06/0.9949, allocations: 0 / 1.133 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1419/1.137, allocations: 76.57 MB / 1.208 GB, free: 6.188 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/16.85, allocations: 6.656 kB / 1.208 GB, free: 6.184 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: 21.766233114001807] Failed to read output from testmodel.py, exit status != 0: 17.063735124014784 17.093881454 16.747756657 Calling exit ...