Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001289/0.001289, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001415/0.001415, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002525/0.002525, allocations: 295.3 kB / 313.5 MB, free: 2.812 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.204/1.204, allocations: 180.6 MB / 0.5377 GB, free: 12.88 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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.002784/0.002784, allocations: 98.59 kB / 0.7404 GB, free: 28.62 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1549, allocations: 95.39 MB / 0.8335 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008679/0.1636, allocations: 6.349 MB / 0.8397 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005731/0.1694, allocations: 3.297 MB / 0.8429 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006027/0.17, allocations: 43.56 kB / 0.843 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.1725, allocations: 0.9743 MB / 0.8439 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.1739, allocations: 493.6 kB / 0.8444 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1751, allocations: 492.7 kB / 0.8449 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.1764, allocations: 1.093 MB / 0.8459 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007738/0.1772, allocations: 0.5103 MB / 0.8464 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006456/0.1778, allocations: 458.4 kB / 0.8469 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000662/0.1785, allocations: 0.4903 MB / 0.8473 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.639e-05/0.1786, allocations: 56 kB / 0.8474 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008292/0.1794, allocations: 0.4911 MB / 0.8479 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.1797, allocations: 299 kB / 0.8482 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004361/0.1801, allocations: 401.9 kB / 0.8485 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.1815, allocations: 1.183 MB / 0.8497 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1815, allocations: 0 / 0.8497 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1815, allocations: 0 / 0.8497 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.1815, allocations: 0 / 0.8497 GB, free: 7.969 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001684/0.1832, allocations: 0.9987 MB / 0.8507 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1833, allocations: 17.33 kB / 0.8507 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.526e-05/0.1833, allocations: 21.5 kB / 0.8507 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/0.1834, allocations: 118.7 kB / 0.8508 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.1849, allocations: 220.2 kB / 0.851 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000921/0.1858, allocations: 0.5204 MB / 0.8515 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.1858, allocations: 41.69 kB / 0.8516 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.1859, allocations: 68.34 kB / 0.8516 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.1874, allocations: 1.033 MB / 0.8527 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.1875, allocations: 11.89 kB / 0.8527 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.1875, allocations: 27.98 kB / 0.8527 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.86e-05/0.1876, allocations: 73.27 kB / 0.8528 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.1887, allocations: 0.6879 MB / 0.8534 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005714/0.1944, allocations: 5.651 MB / 0.859 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/0.1952, allocations: 412.2 kB / 0.8593 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008003/0.196, allocations: 396.5 kB / 0.8597 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.196, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.1961, allocations: 38.56 kB / 0.8598 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.853e-06/0.1961, allocations: 0 / 0.8598 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004262/0.2003, allocations: 1.707 MB / 0.8614 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.2004, allocations: 59.41 kB / 0.8615 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.201, allocations: 450.8 kB / 0.8619 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.201, allocations: 37.7 kB / 0.862 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.2013, allocations: 400 kB / 0.8623 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.2015, allocations: 162.6 kB / 0.8625 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.2017, allocations: 114.2 kB / 0.8626 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.2019, allocations: 358.8 kB / 0.8629 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.2022, allocations: 241.2 kB / 0.8632 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.2028, allocations: 453 kB / 0.8636 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009872/0.2038, allocations: 0.748 MB / 0.8643 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.2038, allocations: 4 kB / 0.8643 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001972/0.2057, allocations: 1.03 MB / 0.8653 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.2058, allocations: 11.94 kB / 0.8654 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.2058, allocations: 8.875 kB / 0.8654 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.2068, allocations: 323.1 kB / 0.8657 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.2071, allocations: 95.83 kB / 0.8658 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007609/0.2147, allocations: 7.07 MB / 0.8727 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.2152, allocations: 32.02 kB / 0.8727 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.2152, allocations: 27.94 kB / 0.8727 GB, free: 15 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000349/0.2156, allocations: 242.2 kB / 0.873 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2157, allocations: 63.56 kB / 0.873 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.2174, allocations: 0.8847 MB / 0.8739 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2174, allocations: 4 kB / 0.8739 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.2174, allocations: 4 kB / 0.8739 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.2174, allocations: 4.266 kB / 0.8739 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.2202, allocations: 1.641 MB / 0.8755 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2202, allocations: 4.188 kB / 0.8755 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.2204, allocations: 51.84 kB / 0.8755 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000908/0.2213, allocations: 303.1 kB / 0.8758 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.2213, allocations: 11.98 kB / 0.8759 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007558/0.2289, allocations: 7.058 MB / 0.8827 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2289, allocations: 0 / 0.8827 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.2307, allocations: 0.9731 MB / 0.8837 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.2309, allocations: 99.58 kB / 0.8838 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.231, allocations: 8 kB / 0.8838 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.2313, allocations: 23.91 kB / 0.8838 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.2314, allocations: 47.88 kB / 0.8839 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.2314, allocations: 15.98 kB / 0.8839 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003518/0.2318, allocations: 302.9 kB / 0.8842 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2318, allocations: 288 / 0.8842 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007494/0.2325, allocations: 196 kB / 0.8844 GB, free: 2.473 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002005/0.2345, allocations: 1.532 MB / 0.8859 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.2365, allocations: 1.163 MB / 0.887 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.2365, allocations: 0 / 0.887 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.2378, allocations: 0.8347 MB / 0.8878 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.2389, allocations: 209.1 kB / 0.888 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008558/0.2474, allocations: 5.842 MB / 0.8937 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.2481, allocations: 0.9881 MB / 0.8947 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000309/0.2484, allocations: 101.2 kB / 0.8948 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.2487, allocations: 227.3 kB / 0.895 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of SimCode: time 1.093e-06/0.2487, allocations: 3.938 kB / 0.895 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07237/0.3211, allocations: 15.93 MB / 0.9105 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.63, allocations: 5.312 kB / 0.9105 GB, free: 7.434 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.878659400972538] Failed to read output from testmodel.py, exit status != 0: 12.821374029968865 12.848223388 12.661731678 Calling exit ...