Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 288.4 MB / 303.6 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009941/0.0009941, allocations: 172.5 kB / 372.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 0.631 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007803/0.0007804, allocations: 98.86 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 12.09 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1536, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004926/0.1586, allocations: 6.021 MB / 0.9861 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.1619, allocations: 2.929 MB / 0.9889 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006224/0.1626, allocations: 23.81 kB / 0.989 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000473/0.1631, allocations: 130.9 kB / 0.9891 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.1643, allocations: 457.7 kB / 0.9895 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009414/0.1653, allocations: 361.1 kB / 0.9899 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.1665, allocations: 1.345 MB / 0.9912 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.1681, allocations: 0.9973 MB / 0.9922 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006334/0.1687, allocations: 386.4 kB / 0.9925 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006658/0.1694, allocations: 0.4903 MB / 0.993 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.173e-05/0.1695, allocations: 36 kB / 0.993 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005936/0.1701, allocations: 415.1 kB / 0.9934 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.1703, allocations: 271.2 kB / 0.9937 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.1706, allocations: 411.7 kB / 0.9941 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005878/0.1712, allocations: 0.9274 MB / 0.995 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1712, allocations: 0 / 0.995 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1712, allocations: 0 / 0.995 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.1712, allocations: 0 / 0.995 GB, free: 12.01 MB / 0.6198 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.00134/0.1725, allocations: 1.005 MB / 0.996 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1726, allocations: 8.031 kB / 0.996 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.1727, allocations: 126.7 kB / 0.9961 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.174, allocations: 243.5 kB / 0.9963 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.1747, allocations: 0.553 MB / 0.9969 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.1747, allocations: 49.67 kB / 0.9969 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/0.1748, allocations: 68.31 kB / 0.997 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.176, allocations: 1.081 MB / 0.998 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.176, allocations: 11.88 kB / 0.998 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/0.1761, allocations: 24 kB / 0.9981 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.1762, allocations: 85.25 kB / 0.9982 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009062/0.1772, allocations: 0.7426 MB / 0.9989 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003435/0.1806, allocations: 5.909 MB / 1.005 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/0.1814, allocations: 0.5458 MB / 1.005 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.1817, allocations: 326 kB / 1.005 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.1817, allocations: 8.438 kB / 1.006 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.1818, allocations: 42.94 kB / 1.006 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 1.874e-06/0.1818, allocations: 0 / 1.006 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.00337/0.1851, allocations: 1.99 MB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.1852, allocations: 55.84 kB / 1.008 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.1857, allocations: 0.5586 MB / 1.008 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.1858, allocations: 33.7 kB / 1.008 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.186, allocations: 418.9 kB / 1.009 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.1862, allocations: 173.6 kB / 1.009 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.1862, allocations: 20 kB / 1.009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1863, allocations: 374.7 kB / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.1867, allocations: 277.8 kB / 1.009 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/0.1872, allocations: 485 kB / 1.01 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009865/0.1882, allocations: 0.8132 MB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1882, allocations: 0 / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001695/0.1899, allocations: 1.079 MB / 1.012 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.19, allocations: 13.7 kB / 1.012 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.19, allocations: 4.875 kB / 1.012 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007742/0.1908, allocations: 295.1 kB / 1.012 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004426/0.1912, allocations: 123.8 kB / 1.012 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005435/0.1967, allocations: 6.587 MB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.1971, allocations: 43.95 kB / 1.019 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.1972, allocations: 28.19 kB / 1.019 GB, free: 2.32 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003189/0.1975, allocations: 249.5 kB / 1.019 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.174e-05/0.1976, allocations: 75.22 kB / 1.019 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.1991, allocations: 0.8925 MB / 1.02 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1991, allocations: 8 kB / 1.02 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1991, allocations: 0 / 1.02 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1991, allocations: 11.92 kB / 1.02 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.2014, allocations: 1.724 MB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.2014, allocations: 4 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.2017, allocations: 67.88 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000702/0.2024, allocations: 263.4 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.2025, allocations: 12 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005225/0.2077, allocations: 6.583 MB / 1.028 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2077, allocations: 4.031 kB / 1.028 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.209, allocations: 0.9834 MB / 1.029 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.2093, allocations: 188.2 kB / 1.029 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/0.2093, allocations: 19.92 kB / 1.029 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.2097, allocations: 27.97 kB / 1.029 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.2098, allocations: 43.89 kB / 1.029 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.2098, allocations: 20 kB / 1.029 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003626/0.2102, allocations: 383.1 kB / 1.03 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2102, allocations: 0 / 1.03 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006448/0.2108, allocations: 224 kB / 1.03 GB, free: 5.832 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001596/0.2124, allocations: 1.548 MB / 1.032 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.2141, allocations: 1.271 MB / 1.033 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2141, allocations: 0 / 1.033 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.2152, allocations: 0.8854 MB / 1.034 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.2163, allocations: 201.9 kB / 1.034 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005516/0.2218, allocations: 4.416 MB / 1.038 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.2223, allocations: 1.013 MB / 1.039 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003735/0.2227, allocations: 130.1 kB / 1.039 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.223, allocations: 247.4 kB / 1.039 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of SimCode: time 2.51e-07/0.223, allocations: 0 / 1.039 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5436/0.7666, allocations: 16.49 MB / 1.056 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.7669, allocations: 237.2 kB / 1.056 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/3.367, allocations: 4 kB / 1.056 GB, free: 11.35 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)