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.514/1.514, allocations: 252 MB / 267.3 MB, free: 10.84 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.001089/0.001089, allocations: 171.6 kB / 327 MB, free: 2.094 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.839/1.839, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0008097/0.00081, allocations: 102.3 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 13.59 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2412, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003638/0.2449, allocations: 2.761 MB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.2477, allocations: 1.922 MB / 0.9055 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.2479, allocations: 7.938 kB / 0.9055 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.2482, allocations: 31.77 kB / 0.9055 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006651/0.2488, allocations: 191.2 kB / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.2496, allocations: 211.5 kB / 0.9059 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.2501, allocations: 446.8 kB / 0.9063 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006497/0.2508, allocations: 333.9 kB / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.251, allocations: 107.5 kB / 0.9068 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.2514, allocations: 143.5 kB / 0.9069 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.2514, allocations: 12 kB / 0.9069 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007319/0.2522, allocations: 471.1 kB / 0.9074 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.2523, allocations: 71.75 kB / 0.9074 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.2524, allocations: 129.2 kB / 0.9075 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007159/0.2531, allocations: 498.7 kB / 0.908 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2532, allocations: 0 / 0.908 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2532, allocations: 7.922 kB / 0.908 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.2532, allocations: 0 / 0.908 GB, free: 56.04 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.0007777/0.254, allocations: 0.5108 MB / 0.9085 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.254, allocations: 8.031 kB / 0.9085 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.118e-05/0.2541, allocations: 66.59 kB / 0.9086 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008664/0.255, allocations: 116.5 kB / 0.9087 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.2553, allocations: 262.7 kB / 0.909 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.2553, allocations: 12.81 kB / 0.909 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.2554, allocations: 16.38 kB / 0.909 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.2558, allocations: 357.1 kB / 0.9093 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.2559, allocations: 3.984 kB / 0.9093 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.2559, allocations: 12 kB / 0.9093 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.2559, allocations: 20.42 kB / 0.9094 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.2564, allocations: 293.5 kB / 0.9096 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.2582, allocations: 1.745 MB / 0.9113 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.2586, allocations: 326.1 kB / 0.9117 GB, free: 52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.2587, allocations: 105.7 kB / 0.9118 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-05/0.2588, allocations: 93.09 kB / 0.9118 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2589, allocations: 30.56 kB / 0.9119 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/0.2589, allocations: 0 / 0.9119 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.002223/0.2611, allocations: 0.979 MB / 0.9128 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.2611, allocations: 93.02 kB / 0.9129 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.2613, allocations: 216.3 kB / 0.9131 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.2614, allocations: 29.7 kB / 0.9132 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.2614, allocations: 168.2 kB / 0.9133 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.2615, allocations: 82.75 kB / 0.9134 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.2615, allocations: 4 kB / 0.9134 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.2616, allocations: 330.8 kB / 0.9137 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.2617, allocations: 131.9 kB / 0.9138 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.2619, allocations: 217.2 kB / 0.914 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.2623, allocations: 364.1 kB / 0.9144 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2623, allocations: 0 / 0.9144 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007393/0.2631, allocations: 0.5042 MB / 0.9149 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2631, allocations: 10.5 kB / 0.9149 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2631, allocations: 0 / 0.9149 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/0.2636, allocations: 151.6 kB / 0.915 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.2638, allocations: 59.91 kB / 0.9151 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.2659, allocations: 3.961 MB / 0.919 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.2661, allocations: 31.94 kB / 0.919 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.2661, allocations: 11.94 kB / 0.919 GB, free: 43.94 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.00015/0.2663, allocations: 173.1 kB / 0.9192 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.2663, allocations: 23.66 kB / 0.9192 GB, free: 43.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007128/0.267, allocations: 470.7 kB / 0.9196 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2671, allocations: 0 / 0.9196 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2671, allocations: 4 kB / 0.9197 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2671, allocations: 11.92 kB / 0.9197 GB, free: 43.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.2683, allocations: 0.9998 MB / 0.9206 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2684, allocations: 4 kB / 0.9206 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.2685, allocations: 31.92 kB / 0.9207 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000388/0.2689, allocations: 155.4 kB / 0.9208 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.2689, allocations: 15.92 kB / 0.9208 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.2707, allocations: 3.942 MB / 0.9247 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2708, allocations: 0 / 0.9247 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.2714, allocations: 0.6372 MB / 0.9253 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.2715, allocations: 124.9 kB / 0.9254 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.2715, allocations: 8 kB / 0.9254 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.2717, allocations: 19.97 kB / 0.9255 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.2718, allocations: 23.92 kB / 0.9255 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.2718, allocations: 15.94 kB / 0.9255 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001021/0.2719, allocations: 157.5 kB / 0.9256 GB, free: 36.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2719, allocations: 0 / 0.9256 GB, free: 36.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004741/0.2724, allocations: 84 kB / 0.9257 GB, free: 36.54 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.0008249/0.2732, allocations: 1.194 MB / 0.9269 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007193/0.274, allocations: 0.5836 MB / 0.9275 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.274, allocations: 0 / 0.9275 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.2744, allocations: 393.2 kB / 0.9278 GB, free: 34.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.2749, allocations: 44.75 kB / 0.9279 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.2781, allocations: 3.448 MB / 0.9312 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.2783, allocations: 0.7831 MB / 0.932 GB, free: 29.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001645/0.2784, allocations: 58.19 kB / 0.9321 GB, free: 29.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.235e-05/0.2785, allocations: 75.34 kB / 0.9321 GB, free: 29.62 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.2786, allocations: 0 / 0.9321 GB, free: 29.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.2961, allocations: 6.221 MB / 0.9382 GB, free: 23.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.2963, allocations: 246.1 kB / 0.9384 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.348, allocations: 0 / 0.9384 GB, free: 23.35 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)