Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.385/1.385, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.000954/0.0009543, allocations: 172.5 kB / 325.8 MB, free: 2.691 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.418/1.418, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006808/0.000681, allocations: 100.8 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 13.5 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1829, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.00236/0.1853, allocations: 2.166 MB / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1869, allocations: 1.469 MB / 0.8998 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.187, allocations: 8 kB / 0.8998 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004703/0.1875, allocations: 171.3 kB / 0.8999 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.1877, allocations: 115.6 kB / 0.9 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1879, allocations: 167.6 kB / 0.9002 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.1882, allocations: 315.2 kB / 0.9005 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.1884, allocations: 117 kB / 0.9006 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.891e-05/0.1885, allocations: 67.7 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.1887, allocations: 99.64 kB / 0.9008 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1887, allocations: 12 kB / 0.9008 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.1889, allocations: 219.6 kB / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.189, allocations: 63.8 kB / 0.9011 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.189, allocations: 67.61 kB / 0.9011 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.1893, allocations: 279.1 kB / 0.9014 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1893, allocations: 0 / 0.9014 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1893, allocations: 4 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.1893, allocations: 0 / 0.9014 GB, free: 62.71 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004242/0.1897, allocations: 443.2 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1898, allocations: 12.03 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.1898, allocations: 50.73 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004549/0.1903, allocations: 64.67 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1904, allocations: 228 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1904, allocations: 12.64 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.1905, allocations: 20.28 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.1908, allocations: 279.5 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1908, allocations: 7.875 kB / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.1908, allocations: 11.98 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.1908, allocations: 16.22 kB / 0.9025 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.1911, allocations: 204.5 kB / 0.9027 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.1923, allocations: 1.576 MB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.1925, allocations: 323.3 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.888e-05/0.1926, allocations: 65.67 kB / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.1926, allocations: 12.08 kB / 0.9046 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.1927, allocations: 30.56 kB / 0.9046 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1927, allocations: 0 / 0.9046 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003987/0.1931, allocations: 244.5 kB / 0.9049 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.1931, allocations: 81.3 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1932, allocations: 199.4 kB / 0.9051 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.1932, allocations: 29.7 kB / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.1933, allocations: 159.5 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.1933, allocations: 35.53 kB / 0.9053 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.1933, allocations: 25.72 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.804e-05/0.1934, allocations: 322.8 kB / 0.9057 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.1935, allocations: 67.95 kB / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.1936, allocations: 155.7 kB / 0.9059 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.1938, allocations: 238.9 kB / 0.9061 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1938, allocations: 0 / 0.9061 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002894/0.1941, allocations: 249.5 kB / 0.9064 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.1941, allocations: 187.3 kB / 0.9065 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1942, allocations: 4.469 kB / 0.9065 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1942, allocations: 4 kB / 0.9065 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.1944, allocations: 47.91 kB / 0.9066 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1944, allocations: 7.938 kB / 0.9066 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.1945, allocations: 19.98 kB / 0.9066 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1945, allocations: 11.98 kB / 0.9066 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.1945, allocations: 6.656 kB / 0.9066 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002084/0.1948, allocations: 191.7 kB / 0.9068 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.1948, allocations: 7.984 kB / 0.9068 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/0.1948, allocations: 4.375 kB / 0.9068 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1949, allocations: 51.91 kB / 0.9069 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1949, allocations: 7.938 kB / 0.9069 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.18e-05/0.195, allocations: 23.83 kB / 0.9069 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.195, allocations: 12 kB / 0.9069 GB, free: 56.53 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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 8.264e-05/0.1951, allocations: 221.6 kB / 0.9071 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.1952, allocations: 7.906 kB / 0.9071 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.1954, allocations: 146.9 kB / 0.9073 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1954, allocations: 8 kB / 0.9073 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1954, allocations: 3.938 kB / 0.9073 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1954, allocations: 0 / 0.9073 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006406/0.196, allocations: 0.7196 MB / 0.908 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1961, allocations: 3.984 kB / 0.908 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.032e-05/0.1961, allocations: 23.98 kB / 0.908 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1962, allocations: 4 kB / 0.908 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1962, allocations: 8.172 kB / 0.908 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1962, allocations: 11.88 kB / 0.908 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1962, allocations: 3.984 kB / 0.908 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.1964, allocations: 386.6 kB / 0.9084 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.1964, allocations: 112.8 kB / 0.9085 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1965, allocations: 4 kB / 0.9085 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1966, allocations: 7.984 kB / 0.9085 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.1966, allocations: 15.94 kB / 0.9085 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1967, allocations: 11.94 kB / 0.9086 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.028e-05/0.1967, allocations: 151.7 kB / 0.9087 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.41e-07/0.1968, allocations: 0 / 0.9087 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004021/0.1972, allocations: 71.94 kB / 0.9088 GB, free: 54.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.000343/0.1975, allocations: 0.9067 MB / 0.9097 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.1978, allocations: 264.9 kB / 0.9099 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1978, allocations: 0 / 0.9099 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.146e-05/0.1979, allocations: 64.41 kB / 0.91 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.1983, allocations: 35.97 kB / 0.91 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1999, allocations: 2.372 MB / 0.9123 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.2001, allocations: 0.7402 MB / 0.913 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.2002, allocations: 73.47 kB / 0.9131 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/0.2003, allocations: 43.42 kB / 0.9132 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.2003, allocations: 0 / 0.9132 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1882/0.3885, allocations: 3.259 MB / 0.9163 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002798/0.3888, allocations: 240.2 kB / 0.9166 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.164, allocations: 1.875 kB / 0.9166 GB, free: 46.34 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)