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.363/1.363, 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.001056/0.001056, allocations: 179.2 kB / 325.8 MB, free: 2.711 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.509/1.509, allocations: 205 MB / 0.576 GB, free: 20.99 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.000777/0.000777, allocations: 92.06 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 8.406 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1858, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002737/0.1885, allocations: 2.794 MB / 0.8989 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1906, allocations: 1.968 MB / 0.9009 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.954e-05/0.1907, allocations: 4 kB / 0.9009 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006426/0.1914, allocations: 267.1 kB / 0.9011 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.1917, allocations: 179.3 kB / 0.9013 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.1921, allocations: 207.5 kB / 0.9015 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.1924, allocations: 450.7 kB / 0.9019 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.1926, allocations: 161 kB / 0.9021 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1928, allocations: 115.5 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.193, allocations: 147.4 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.193, allocations: 8 kB / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.1935, allocations: 479 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.1935, allocations: 71.8 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.545e-05/0.1936, allocations: 107.4 kB / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.194, allocations: 490.5 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.194, allocations: 4 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.194, allocations: 0 / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.194, allocations: 0 / 0.9034 GB, free: 60.7 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.0005632/0.1946, allocations: 0.5224 MB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1947, allocations: 12.02 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.1947, allocations: 54.73 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006781/0.1954, allocations: 108.5 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1956, allocations: 264.6 kB / 0.9043 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1957, allocations: 20.81 kB / 0.9044 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.1957, allocations: 20.38 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.1961, allocations: 349.1 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1962, allocations: 3.938 kB / 0.9047 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.1962, allocations: 8 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.1962, allocations: 28.42 kB / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003513/0.1966, allocations: 289.5 kB / 0.905 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1981, allocations: 1.741 MB / 0.9067 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.1984, allocations: 326.1 kB / 0.907 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.1986, allocations: 101.7 kB / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.772e-05/0.1987, allocations: 93.17 kB / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.1987, allocations: 50.44 kB / 0.9073 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.1987, allocations: 0 / 0.9073 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001983/0.2007, allocations: 0.9652 MB / 0.9082 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.2007, allocations: 85.05 kB / 0.9083 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.2009, allocations: 224.2 kB / 0.9085 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.2009, allocations: 25.7 kB / 0.9085 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.2009, allocations: 172.2 kB / 0.9087 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.201, allocations: 82.81 kB / 0.9088 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.201, allocations: 29.7 kB / 0.9088 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.2011, allocations: 326.8 kB / 0.9091 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.2012, allocations: 131.9 kB / 0.9093 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.2014, allocations: 213.2 kB / 0.9095 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.2018, allocations: 360.1 kB / 0.9098 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2018, allocations: 4 kB / 0.9098 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006474/0.2024, allocations: 0.512 MB / 0.9103 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2024, allocations: 4 kB / 0.9103 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2025, allocations: 4 kB / 0.9103 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004162/0.2029, allocations: 151.5 kB / 0.9105 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.2031, allocations: 59.91 kB / 0.9105 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.205, allocations: 3.969 MB / 0.9144 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.2051, allocations: 16.14 kB / 0.9144 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.2052, allocations: 16 kB / 0.9144 GB, free: 48.57 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 (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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.2053, allocations: 165.7 kB / 0.9146 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.2054, allocations: 19.72 kB / 0.9146 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006941/0.2061, allocations: 478.7 kB / 0.9151 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2061, allocations: 7.984 kB / 0.9151 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2061, allocations: 4 kB / 0.9151 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2061, allocations: 3.938 kB / 0.9151 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.2073, allocations: 1.008 MB / 0.9161 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2073, allocations: 3.984 kB / 0.9161 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.2074, allocations: 35.92 kB / 0.9161 GB, free: 46.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003377/0.2077, allocations: 143.3 kB / 0.9162 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.2078, allocations: 8 kB / 0.9162 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.2095, allocations: 3.954 MB / 0.9201 GB, free: 42.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2095, allocations: 4 kB / 0.9201 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.2101, allocations: 0.6203 MB / 0.9207 GB, free: 41.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.2102, allocations: 132.8 kB / 0.9208 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.2102, allocations: 15.92 kB / 0.9208 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.2104, allocations: 19.92 kB / 0.9209 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.2105, allocations: 23.97 kB / 0.9209 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.2105, allocations: 8 kB / 0.9209 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.523e-05/0.2106, allocations: 157.5 kB / 0.921 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.51e-07/0.2106, allocations: 4 kB / 0.9211 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000408/0.211, allocations: 91.92 kB / 0.9211 GB, free: 41.17 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 (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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007673/0.2118, allocations: 1.199 MB / 0.9223 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006887/0.2125, allocations: 0.5918 MB / 0.9229 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2125, allocations: 0 / 0.9229 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.2129, allocations: 393.2 kB / 0.9233 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.2134, allocations: 40.39 kB / 0.9233 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.2165, allocations: 3.419 MB / 0.9266 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.2167, allocations: 0.783 MB / 0.9274 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000161/0.2169, allocations: 58.25 kB / 0.9275 GB, free: 34.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.023e-05/0.217, allocations: 71.41 kB / 0.9275 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.217, allocations: 0 / 0.9275 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3063/0.5233, allocations: 6.236 MB / 0.9336 GB, free: 28.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/0.5235, allocations: 240.4 kB / 0.9338 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.715, allocations: 0 / 0.9338 GB, free: 27.99 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)