Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 102.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002179/0.002179, allocations: 279.2 kB / 303 MB, free: 3.594 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9547/0.9547, allocations: 180.9 MB / 0.5261 GB, free: 2.766 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002597/0.002597, allocations: 103.8 kB / 0.7248 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4169, allocations: 94.16 MB / 0.8167 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01321/0.4301, allocations: 14.96 MB / 0.8313 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.4442, allocations: 10.47 MB / 0.8416 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009456/0.4451, allocations: 57.88 kB / 0.8416 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003952/0.4491, allocations: 1.711 MB / 0.8433 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00443/0.4535, allocations: 1.85 MB / 0.8451 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.4553, allocations: 0.7627 MB / 0.8458 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003648/0.459, allocations: 2.744 MB / 0.8485 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.4605, allocations: 1.131 MB / 0.8496 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.4625, allocations: 1.531 MB / 0.8511 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.4642, allocations: 1.231 MB / 0.8523 GB, free: 416 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.4644, allocations: 160.8 kB / 0.8525 GB, free: 416 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.4658, allocations: 0.8031 MB / 0.8533 GB, free: 176 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006054/0.4664, allocations: 0.6224 MB / 0.8539 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009605/0.4674, allocations: 0.9604 MB / 0.8548 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003009/0.4704, allocations: 2.773 MB / 0.8575 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4704, allocations: 0.875 kB / 0.8575 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4704, allocations: 0 / 0.8575 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.212e-05/0.4704, allocations: 1.125 kB / 0.8575 GB, free: 13.69 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003763/0.4742, allocations: 2.231 MB / 0.8597 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.4742, allocations: 9.281 kB / 0.8597 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002345/0.4745, allocations: 197.7 kB / 0.8599 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.4849, allocations: 2.113 MB / 0.8619 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/0.4875, allocations: 1.316 MB / 0.8632 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.4876, allocations: 89.22 kB / 0.8633 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/0.4878, allocations: 122.8 kB / 0.8634 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005163/0.493, allocations: 2.669 MB / 0.866 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.952e-05/0.493, allocations: 6.5 kB / 0.866 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.4932, allocations: 54.86 kB / 0.8661 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006202/0.4938, allocations: 194 kB / 0.8663 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007084/0.5009, allocations: 2.795 MB / 0.869 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01474/0.5156, allocations: 10.48 MB / 0.8792 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005849/0.5215, allocations: 2.264 MB / 0.8815 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002724/0.5242, allocations: 1.203 MB / 0.8826 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.026e-05/0.5243, allocations: 9.844 kB / 0.8826 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.5243, allocations: 43.31 kB / 0.8827 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=89): time 4.558e-06/0.5243, allocations: 0 / 0.8827 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of matching and sorting (n=153): time 0.05509/0.5794, allocations: 16.45 MB / 0.8987 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.5795, allocations: 68.72 kB / 0.8988 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.5811, allocations: 1.176 MB / 0.9 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.5813, allocations: 57.7 kB / 0.9 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005917/0.5819, allocations: 0.7529 MB / 0.9008 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005423/0.5824, allocations: 0.5383 MB / 0.9013 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005741/0.583, allocations: 287.5 kB / 0.9016 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5831, allocations: 309 kB / 0.9018 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00337/0.5865, allocations: 1.514 MB / 0.9033 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003534/0.59, allocations: 1.78 MB / 0.9051 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006842/0.5969, allocations: 3.365 MB / 0.9083 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5969, allocations: 4 kB / 0.9084 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01263/0.6095, allocations: 5.211 MB / 0.9134 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.6095, allocations: 11.94 kB / 0.9135 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.6095, allocations: 12.09 kB / 0.9135 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006464/0.616, allocations: 1.872 MB / 0.9153 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.6177, allocations: 419.2 kB / 0.9157 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02948/0.6472, allocations: 24.16 MB / 0.9393 GB, free: 1.168 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/0.6496, allocations: 307.6 kB / 0.9396 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/0.6498, allocations: 71.89 kB / 0.9396 GB, free: 0.7969 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008838/0.6507, allocations: 465.5 kB / 0.9401 GB, free: 340 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003686/0.6511, allocations: 182.9 kB / 0.9403 GB, free: 156 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.6637, allocations: 5.246 MB / 0.9454 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.6637, allocations: 20 kB / 0.9454 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.21e-05/0.6638, allocations: 20 kB / 0.9454 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.6638, allocations: 7.969 kB / 0.9454 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.6799, allocations: 7.364 MB / 0.9526 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.6799, allocations: 0 / 0.9526 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/0.6814, allocations: 355.4 kB / 0.953 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005539/0.6869, allocations: 1.709 MB / 0.9546 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/0.6871, allocations: 43.91 kB / 0.9547 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02782/0.7149, allocations: 23.32 MB / 0.9775 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.7149, allocations: 4 kB / 0.9775 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/0.7264, allocations: 4.826 MB / 0.9822 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.7276, allocations: 495.7 kB / 0.9826 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003588/0.7279, allocations: 39.94 kB / 0.9827 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/0.7299, allocations: 315.5 kB / 0.983 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/0.7303, allocations: 160.8 kB / 0.9831 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.7304, allocations: 51.97 kB / 0.9832 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00109/0.7315, allocations: 0.7899 MB / 0.984 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.7315, allocations: 4 kB / 0.984 GB, free: 2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001831/0.7333, allocations: 0.6562 MB / 0.9846 GB, free: 1.344 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01175/0.7451, allocations: 5.402 MB / 0.9899 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0104/0.7555, allocations: 4.921 MB / 0.9947 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7555, allocations: 0 / 0.9947 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006454/0.762, allocations: 3.28 MB / 0.9979 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.7641, allocations: 0.5681 MB / 0.9984 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04297/0.8071, allocations: 21.77 MB / 1.02 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.8085, allocations: 1.561 MB / 1.021 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001269/0.8098, allocations: 386.4 kB / 1.022 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008795/0.8107, allocations: 0.6554 MB / 1.022 GB, free: 10 MB / 0.7637 GB Notification: Performance of SimCode: time 5.61e-07/0.8107, allocations: 0 / 1.022 GB, free: 10 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/0.9307, allocations: 59.17 MB / 1.08 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.44/19.37, allocations: 18.97 kB / 1.08 GB, free: 15.55 MB / 0.8262 GB " [Timeout remaining time 641] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.877842074725777] Failed to read output from testmodel.py, exit status != 0: 19.488132054917514 19.50069506 19.027620347 Calling exit ...