Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.274/1.274, allocations: 251.5 MB / 266.7 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009401/0.00094, allocations: 178.9 kB / 325.8 MB, free: 2.727 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006852/0.0006852, allocations: 89.11 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.0002879, allocations: 11.47 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1702, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.002546/0.1728, allocations: 2.463 MB / 0.8986 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.1752, allocations: 2.07 MB / 0.9006 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.1753, allocations: 7.938 kB / 0.9006 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005941/0.1759, allocations: 218 kB / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.1762, allocations: 187.3 kB / 0.901 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.1765, allocations: 231.5 kB / 0.9013 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.1768, allocations: 458.8 kB / 0.9017 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.1771, allocations: 150 kB / 0.9018 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1773, allocations: 107.5 kB / 0.9019 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1775, allocations: 147.5 kB / 0.9021 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.1775, allocations: 15.94 kB / 0.9021 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000426/0.1779, allocations: 443.2 kB / 0.9025 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.178, allocations: 87.77 kB / 0.9026 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.589e-05/0.1781, allocations: 99.47 kB / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.1785, allocations: 466.6 kB / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1785, allocations: 0 / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1785, allocations: 0 / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1785, allocations: 3.938 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006691/0.1792, allocations: 0.5224 MB / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.1792, allocations: 8.031 kB / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.1793, allocations: 58.72 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000639/0.1799, allocations: 112.5 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1802, allocations: 252.5 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1802, allocations: 16.8 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.1802, allocations: 19.94 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.1808, allocations: 389.9 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1808, allocations: 4 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.1808, allocations: 12 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/0.1809, allocations: 23.98 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005228/0.1814, allocations: 371.4 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.1828, allocations: 1.745 MB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/0.1833, allocations: 341 kB / 0.9069 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.1836, allocations: 193.6 kB / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.1837, allocations: 93.08 kB / 0.9072 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.1837, allocations: 34.5 kB / 0.9072 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.1838, allocations: 0 / 0.9072 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.006531/0.1903, allocations: 2.065 MB / 0.9092 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.1903, allocations: 81.11 kB / 0.9093 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1904, allocations: 187.5 kB / 0.9095 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.1905, allocations: 29.7 kB / 0.9095 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.1905, allocations: 152.3 kB / 0.9096 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.1906, allocations: 126.2 kB / 0.9098 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.1907, allocations: 37.7 kB / 0.9098 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.352e-05/0.1907, allocations: 326.8 kB / 0.9101 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/0.1912, allocations: 259.8 kB / 0.9104 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.1916, allocations: 341.5 kB / 0.9107 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008193/0.1924, allocations: 0.6307 MB / 0.9113 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1924, allocations: 0 / 0.9113 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009563/0.1934, allocations: 0.6496 MB / 0.9119 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.1934, allocations: 152.9 kB / 0.9121 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1934, allocations: 4 kB / 0.9121 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1935, allocations: 8 kB / 0.9121 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008353/0.1943, allocations: 155.7 kB / 0.9122 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1943, allocations: 7.984 kB / 0.9123 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.1947, allocations: 55.94 kB / 0.9123 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.1948, allocations: 23.92 kB / 0.9123 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-06/0.1948, allocations: 4 kB / 0.9123 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008932/0.1957, allocations: 0.5895 MB / 0.9129 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1957, allocations: 4 kB / 0.9129 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-06/0.1957, allocations: 7.938 kB / 0.9129 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.1964, allocations: 152 kB / 0.9131 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1965, allocations: 7.984 kB / 0.9131 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.1968, allocations: 51.94 kB / 0.9131 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.1968, allocations: 12 kB / 0.9131 GB, free: 50.28 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.197, allocations: 241 kB / 0.9134 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.1971, allocations: 31.66 kB / 0.9134 GB, free: 50 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.1982, allocations: 0.6841 MB / 0.9141 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1982, allocations: 4 kB / 0.9141 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1982, allocations: 0 / 0.9141 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1982, allocations: 7.984 kB / 0.9141 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.1999, allocations: 1.39 MB / 0.9154 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2, allocations: 256 / 0.9154 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/0.2005, allocations: 123.8 kB / 0.9155 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2005, allocations: 4 kB / 0.9156 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.2005, allocations: 8 kB / 0.9156 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2005, allocations: 4 kB / 0.9156 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2005, allocations: 7.938 kB / 0.9156 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007801/0.2013, allocations: 0.7346 MB / 0.9163 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.2015, allocations: 140.9 kB / 0.9164 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.2015, allocations: 11.91 kB / 0.9164 GB, free: 46.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.2018, allocations: 43.94 kB / 0.9165 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.2019, allocations: 31.84 kB / 0.9165 GB, free: 46.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.2019, allocations: 16 kB / 0.9165 GB, free: 46.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.456e-05/0.202, allocations: 151.1 kB / 0.9167 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.202, allocations: 0 / 0.9167 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000539/0.2026, allocations: 144 kB / 0.9168 GB, free: 46.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/0.2036, allocations: 1.307 MB / 0.9181 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.2049, allocations: 0.8712 MB / 0.9189 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2049, allocations: 0 / 0.9189 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.2053, allocations: 268.3 kB / 0.9192 GB, free: 43.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.2058, allocations: 46.16 kB / 0.9192 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.2098, allocations: 3.942 MB / 0.9231 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.21, allocations: 0.7838 MB / 0.9238 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000456/0.2104, allocations: 174.8 kB / 0.924 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.2106, allocations: 87.41 kB / 0.9241 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2106, allocations: 0 / 0.9241 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3216/0.5322, allocations: 6.757 MB / 0.9307 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.5324, allocations: 224.1 kB / 0.9309 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.506, allocations: 0 / 0.9309 GB, free: 31.8 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)