Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.481/1.481, allocations: 252 MB / 267 MB, free: 10.97 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.001026/0.001026, allocations: 190 kB / 326.6 MB, free: 2.211 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.859/1.859, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0009648/0.0009647, allocations: 88.05 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003768, allocations: 8.469 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1949, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003163/0.1982, allocations: 2.66 MB / 0.9029 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002421/0.2006, allocations: 1.81 MB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.2009, allocations: 4 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.2011, allocations: 35.7 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005577/0.2017, allocations: 135.4 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.2023, allocations: 171.5 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004505/0.2028, allocations: 370.8 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006318/0.2034, allocations: 313.9 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.2037, allocations: 111.5 kB / 0.9058 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.204, allocations: 139.5 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.204, allocations: 8 kB / 0.9059 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004581/0.2045, allocations: 255.7 kB / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.3e-05/0.2046, allocations: 71.73 kB / 0.9062 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.2047, allocations: 69.64 kB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.2051, allocations: 363.3 kB / 0.9066 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2051, allocations: 0 / 0.9066 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2051, allocations: 4 kB / 0.9066 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.2051, allocations: 0 / 0.9066 GB, free: 57.26 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000805/0.2059, allocations: 0.5145 MB / 0.9071 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.206, allocations: 8.031 kB / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.387e-05/0.2061, allocations: 54.55 kB / 0.9072 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008063/0.2069, allocations: 119.5 kB / 0.9073 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.2072, allocations: 256.7 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2072, allocations: 16.42 kB / 0.9076 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.2073, allocations: 24 kB / 0.9076 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.2077, allocations: 353.1 kB / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2077, allocations: 0 / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.2078, allocations: 4 kB / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-05/0.2078, allocations: 32.38 kB / 0.908 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.2082, allocations: 293.4 kB / 0.9082 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.2101, allocations: 1.733 MB / 0.9099 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.2105, allocations: 322.1 kB / 0.9102 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.2107, allocations: 106.9 kB / 0.9103 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.336e-05/0.2108, allocations: 85.09 kB / 0.9104 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.2108, allocations: 34.56 kB / 0.9105 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 3.146e-06/0.2108, allocations: 0 / 0.9105 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.00226/0.2131, allocations: 0.9834 MB / 0.9114 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.2131, allocations: 85.33 kB / 0.9115 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.2133, allocations: 212.3 kB / 0.9117 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2134, allocations: 29.7 kB / 0.9117 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.2134, allocations: 168.2 kB / 0.9119 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.2135, allocations: 82.75 kB / 0.912 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/0.2135, allocations: 8 kB / 0.912 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.2136, allocations: 334.8 kB / 0.9123 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.2137, allocations: 131.9 kB / 0.9124 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.2139, allocations: 209.2 kB / 0.9126 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.2141, allocations: 160.7 kB / 0.9128 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2141, allocations: 3.938 kB / 0.9128 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007634/0.2149, allocations: 0.5143 MB / 0.9133 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.215, allocations: 7.953 kB / 0.9133 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.215, allocations: 7.984 kB / 0.9133 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004685/0.2154, allocations: 151.4 kB / 0.9134 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.2157, allocations: 55.91 kB / 0.9135 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.2177, allocations: 3.965 MB / 0.9174 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.2179, allocations: 19.89 kB / 0.9174 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.218, allocations: 8 kB / 0.9174 GB, free: 45.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 28 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.2181, allocations: 172.9 kB / 0.9176 GB, free: 45.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.2182, allocations: 15.81 kB / 0.9176 GB, free: 45.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007715/0.219, allocations: 474.6 kB / 0.918 GB, free: 44.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.219, allocations: 0 / 0.918 GB, free: 44.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.219, allocations: 4 kB / 0.918 GB, free: 44.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.219, allocations: 3.984 kB / 0.918 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.2204, allocations: 1.022 MB / 0.919 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2204, allocations: 0 / 0.919 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.2205, allocations: 39.91 kB / 0.9191 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003972/0.2209, allocations: 147.6 kB / 0.9192 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.2209, allocations: 4 kB / 0.9192 GB, free: 43.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.223, allocations: 3.942 MB / 0.9231 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.2231, allocations: 0 / 0.9231 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006914/0.2238, allocations: 0.618 MB / 0.9237 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.2239, allocations: 132.8 kB / 0.9238 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.2239, allocations: 12.03 kB / 0.9238 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.2242, allocations: 27.97 kB / 0.9238 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.2242, allocations: 19.97 kB / 0.9238 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2242, allocations: 8 kB / 0.9239 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001238/0.2244, allocations: 157.5 kB / 0.924 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2244, allocations: 0 / 0.924 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000534/0.2249, allocations: 91.98 kB / 0.9241 GB, free: 38.03 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 17 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009375/0.2259, allocations: 1.198 MB / 0.9253 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008333/0.2267, allocations: 0.5641 MB / 0.9258 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2267, allocations: 0 / 0.9258 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.2271, allocations: 402.3 kB / 0.9262 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.2276, allocations: 49.53 kB / 0.9262 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.23, allocations: 1.801 MB / 0.928 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.2302, allocations: 0.7831 MB / 0.9288 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.2304, allocations: 58.25 kB / 0.9288 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.2305, allocations: 79.34 kB / 0.9289 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/0.2305, allocations: 0 / 0.9289 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.2493, allocations: 6.212 MB / 0.935 GB, free: 26.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.2496, allocations: 231.3 kB / 0.9352 GB, free: 26.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.097, allocations: 0 / 0.9352 GB, free: 26.6 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)