Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001277/0.001277, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001422/0.001422, allocations: 217.5 kB / 23.03 MB, free: 4.918 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.003615/0.003615, allocations: 287.4 kB / 313.5 MB, free: 2.609 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.24/1.24, allocations: 180.6 MB / 0.5377 GB, free: 14.61 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.002834/0.002834, allocations: 98.38 kB / 0.7403 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1686, allocations: 95.39 MB / 0.8334 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009223/0.1778, allocations: 6.547 MB / 0.8398 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005532/0.1833, allocations: 3.056 MB / 0.8428 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004989/0.1838, allocations: 35.69 kB / 0.8428 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002619/0.1864, allocations: 0.9513 MB / 0.8438 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.1878, allocations: 0.5206 MB / 0.8443 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.189, allocations: 444.9 kB / 0.8447 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001776/0.1907, allocations: 1.232 MB / 0.8459 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000939/0.1917, allocations: 0.5335 MB / 0.8464 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008102/0.1925, allocations: 0.4904 MB / 0.8469 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007797/0.1933, allocations: 0.5526 MB / 0.8474 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.1934, allocations: 68 kB / 0.8475 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006948/0.1941, allocations: 339.3 kB / 0.8478 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.1944, allocations: 323.1 kB / 0.8481 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.1948, allocations: 374.2 kB / 0.8485 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.1963, allocations: 1.241 MB / 0.8497 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1963, allocations: 0 / 0.8497 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.284e-06/0.1963, allocations: 0 / 0.8497 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.1964, allocations: 0 / 0.8497 GB, free: 7.566 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002088/0.1984, allocations: 1.119 MB / 0.8508 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1985, allocations: 13.34 kB / 0.8508 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.168e-05/0.1985, allocations: 25.5 kB / 0.8508 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.1987, allocations: 118.7 kB / 0.8509 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.2003, allocations: 240.1 kB / 0.8512 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009869/0.2013, allocations: 0.5476 MB / 0.8517 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.2013, allocations: 49.67 kB / 0.8517 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.2014, allocations: 64.36 kB / 0.8518 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.2032, allocations: 1.336 MB / 0.8531 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.2032, allocations: 11.94 kB / 0.8531 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-05/0.2033, allocations: 27.98 kB / 0.8532 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/0.2034, allocations: 85.25 kB / 0.8532 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.2046, allocations: 0.7504 MB / 0.854 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005214/0.2098, allocations: 4.635 MB / 0.8585 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.2109, allocations: 0.5066 MB / 0.859 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.2113, allocations: 290 kB / 0.8593 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.2114, allocations: 8.438 kB / 0.8593 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.2114, allocations: 35 kB / 0.8593 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 5.169e-06/0.2114, allocations: 7.984 kB / 0.8593 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.004034/0.2154, allocations: 1.686 MB / 0.861 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.2155, allocations: 55.84 kB / 0.861 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/0.2162, allocations: 0.5704 MB / 0.8616 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.2162, allocations: 33.7 kB / 0.8616 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.2165, allocations: 424 kB / 0.862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.2167, allocations: 182.5 kB / 0.8622 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.2169, allocations: 126.6 kB / 0.8623 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.2171, allocations: 378.7 kB / 0.8627 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.2175, allocations: 269.9 kB / 0.8629 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.2182, allocations: 0.493 MB / 0.8634 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.2193, allocations: 0.8122 MB / 0.8642 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2193, allocations: 0 / 0.8642 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001923/0.2212, allocations: 1.078 MB / 0.8652 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.2212, allocations: 8 kB / 0.8653 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.2212, allocations: 8 kB / 0.8653 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000916/0.2221, allocations: 271.5 kB / 0.8655 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.2226, allocations: 127.8 kB / 0.8656 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00705/0.2297, allocations: 6.694 MB / 0.8722 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006417/0.2303, allocations: 39.97 kB / 0.8722 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.2304, allocations: 28 kB / 0.8722 GB, free: 15.29 MB / 0.6231 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0003841/0.2308, allocations: 254.3 kB / 0.8725 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.2309, allocations: 75.61 kB / 0.8726 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.2325, allocations: 0.8769 MB / 0.8734 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2325, allocations: 7.938 kB / 0.8734 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.2325, allocations: 4 kB / 0.8734 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2325, allocations: 7.984 kB / 0.8734 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.2354, allocations: 1.614 MB / 0.875 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2354, allocations: 0 / 0.875 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.2357, allocations: 63.88 kB / 0.8751 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008385/0.2365, allocations: 267.4 kB / 0.8753 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.2366, allocations: 8 kB / 0.8753 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007167/0.2437, allocations: 6.687 MB / 0.8819 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2437, allocations: 0 / 0.8819 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.2455, allocations: 0.976 MB / 0.8828 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.2459, allocations: 115.5 kB / 0.8829 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-05/0.246, allocations: 15.94 kB / 0.8829 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.2464, allocations: 27.97 kB / 0.883 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.2465, allocations: 47.98 kB / 0.883 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.2465, allocations: 12 kB / 0.883 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004892/0.247, allocations: 395.1 kB / 0.8834 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.247, allocations: 0 / 0.8834 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008562/0.2479, allocations: 220 kB / 0.8836 GB, free: 3.016 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001943/0.2498, allocations: 1.536 MB / 0.8851 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002251/0.2521, allocations: 1.228 MB / 0.8863 GB, free: 144 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.2521, allocations: 0 / 0.8863 GB, free: 144 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.2534, allocations: 0.8776 MB / 0.8872 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.2546, allocations: 218.4 kB / 0.8874 GB, free: 15 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009144/0.2637, allocations: 6.411 MB / 0.8936 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.2642, allocations: 420.8 kB / 0.894 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003958/0.2646, allocations: 114 kB / 0.8941 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.2649, allocations: 255.3 kB / 0.8944 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of SimCode: time 1.272e-06/0.2649, allocations: 0 / 0.8944 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08452/0.3495, allocations: 19.22 MB / 0.9132 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.26, allocations: 4.562 kB / 0.9132 GB, free: 4.715 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.55870145407971] Failed to read output from testmodel.py, exit status != 0: 13.441851460956968 13.458032161 13.258376610000001 Calling exit ...