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.568/1.568, allocations: 251.9 MB / 266.8 MB, free: 11.02 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.00215/0.00215, allocations: 175.3 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001103/0.001103, allocations: 91.5 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003469, allocations: 10.56 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2092, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002783/0.2121, allocations: 2.611 MB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.2142, allocations: 1.783 MB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.2144, allocations: 4 kB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.2146, allocations: 35.72 kB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.215, allocations: 131.6 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.2154, allocations: 167.5 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.2156, allocations: 179.6 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000487/0.2161, allocations: 309.8 kB / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.2163, allocations: 91.69 kB / 0.9053 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.2165, allocations: 107.6 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.2165, allocations: 12 kB / 0.9054 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003638/0.2169, allocations: 247.6 kB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.2169, allocations: 67.81 kB / 0.9057 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.217, allocations: 61.64 kB / 0.9058 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.2173, allocations: 363.3 kB / 0.9061 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2173, allocations: 0 / 0.9061 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2173, allocations: 0 / 0.9061 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.2173, allocations: 0 / 0.9061 GB, free: 57.64 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.0006338/0.218, allocations: 0.5146 MB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.218, allocations: 15.97 kB / 0.9066 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.2181, allocations: 54.55 kB / 0.9067 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007512/0.2188, allocations: 127.5 kB / 0.9068 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.2191, allocations: 256.7 kB / 0.9071 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.2191, allocations: 8.438 kB / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.2191, allocations: 20 kB / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.2196, allocations: 349.1 kB / 0.9074 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2196, allocations: 0 / 0.9074 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.2196, allocations: 12 kB / 0.9074 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.2196, allocations: 24.38 kB / 0.9075 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/0.22, allocations: 301.4 kB / 0.9077 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.2216, allocations: 1.745 MB / 0.9095 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.222, allocations: 316.9 kB / 0.9098 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.589e-05/0.2221, allocations: 85.09 kB / 0.9098 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.2221, allocations: 42.56 kB / 0.9099 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.2221, allocations: 3.984 kB / 0.9099 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.002025/0.2242, allocations: 0.9725 MB / 0.9108 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.2242, allocations: 81.28 kB / 0.9109 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.2244, allocations: 220.3 kB / 0.9111 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.2244, allocations: 25.8 kB / 0.9111 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.2244, allocations: 168.1 kB / 0.9113 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.2245, allocations: 86.75 kB / 0.9114 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.2245, allocations: 4 kB / 0.9114 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.2246, allocations: 342.8 kB / 0.9117 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2247, allocations: 123.9 kB / 0.9118 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.2249, allocations: 209.2 kB / 0.912 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.2251, allocations: 164.6 kB / 0.9122 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2251, allocations: 0 / 0.9122 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006675/0.2258, allocations: 0.5103 MB / 0.9127 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2258, allocations: 7.953 kB / 0.9127 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2258, allocations: 4 kB / 0.9127 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000428/0.2263, allocations: 155.5 kB / 0.9128 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.2265, allocations: 59.91 kB / 0.9129 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.2284, allocations: 3.989 MB / 0.9168 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.2286, allocations: 20.14 kB / 0.9168 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.2286, allocations: 16 kB / 0.9168 GB, free: 45.86 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.000134/0.2288, allocations: 161.8 kB / 0.917 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.2288, allocations: 15.81 kB / 0.917 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006768/0.2295, allocations: 494.6 kB / 0.9175 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2295, allocations: 0 / 0.9175 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2295, allocations: 4 kB / 0.9175 GB, free: 45.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2296, allocations: 7.969 kB / 0.9175 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.2308, allocations: 1.003 MB / 0.9185 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2308, allocations: 4.062 kB / 0.9185 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.2309, allocations: 39.91 kB / 0.9185 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.2313, allocations: 143.3 kB / 0.9186 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.2313, allocations: 4 kB / 0.9186 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.2331, allocations: 3.969 MB / 0.9225 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2331, allocations: 4 kB / 0.9225 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.2338, allocations: 0.7309 MB / 0.9232 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2339, allocations: 128.8 kB / 0.9234 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.234, allocations: 8 kB / 0.9234 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.2342, allocations: 19.98 kB / 0.9234 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.2342, allocations: 31.86 kB / 0.9234 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.2343, allocations: 8 kB / 0.9234 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001094/0.2344, allocations: 157.5 kB / 0.9236 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2344, allocations: 0 / 0.9236 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004908/0.2349, allocations: 84 kB / 0.9237 GB, free: 38.29 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.0009946/0.2359, allocations: 1.926 MB / 0.9255 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007898/0.2367, allocations: 0.5673 MB / 0.9261 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2367, allocations: 0 / 0.9261 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.2371, allocations: 402.3 kB / 0.9265 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.2375, allocations: 35.77 kB / 0.9265 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.24, allocations: 3.309 MB / 0.9297 GB, free: 31.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.2403, allocations: 0.7947 MB / 0.9305 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001718/0.2404, allocations: 62.22 kB / 0.9306 GB, free: 30.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.2405, allocations: 67.42 kB / 0.9306 GB, free: 30.83 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.2406, allocations: 0 / 0.9306 GB, free: 30.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.2587, allocations: 6.193 MB / 0.9367 GB, free: 24.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/0.2589, allocations: 231.6 kB / 0.9369 GB, free: 24.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.02, allocations: 0 / 0.9369 GB, free: 24.59 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)