Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001622, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 201.5 kB / 16.14 MB, free: 6.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 472.6 MB / 0.7447 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 62.36 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3469, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004315/0.3512, allocations: 3.113 MB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002738/0.354, allocations: 1.936 MB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.3541, allocations: 7.938 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008045/0.3549, allocations: 259.1 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.3553, allocations: 187.3 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.3558, allocations: 199.5 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.3562, allocations: 450.7 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.3566, allocations: 185 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.3567, allocations: 111.5 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.357, allocations: 151.5 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.357, allocations: 12 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006317/0.3577, allocations: 475.1 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.3578, allocations: 87.72 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3579, allocations: 111.4 kB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005607/0.3585, allocations: 0.4908 MB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3585, allocations: 3.938 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.12e-07/0.3585, allocations: 0 / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3585, allocations: 0 / 1.075 GB, free: 3.102 MB / 0.8262 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.0008485/0.3593, allocations: 0.5575 MB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3594, allocations: 8.031 kB / 1.076 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007995/0.3602, allocations: 120.5 kB / 1.076 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.3605, allocations: 255.9 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3605, allocations: 12.81 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.3606, allocations: 16.38 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.3611, allocations: 353.2 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3611, allocations: 4 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.3611, allocations: 12 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/0.3612, allocations: 20.42 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.3616, allocations: 301.4 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.3636, allocations: 1.741 MB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.3641, allocations: 321.8 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.3643, allocations: 109.6 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.3644, allocations: 89.11 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.3644, allocations: 38.83 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 3.626e-06/0.3644, allocations: 3.984 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.002351/0.3668, allocations: 0.9676 MB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.3668, allocations: 89.05 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.3671, allocations: 207.8 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.3671, allocations: 29.7 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.3672, allocations: 172.1 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.3673, allocations: 82.88 kB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.3674, allocations: 57.7 kB / 1.08 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3675, allocations: 334.8 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.3677, allocations: 127.9 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.3679, allocations: 217.1 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.3684, allocations: 362.5 kB / 1.081 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3684, allocations: 0 / 1.081 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008493/0.3692, allocations: 0.5095 MB / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3693, allocations: 8 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3693, allocations: 0 / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/0.3698, allocations: 151.5 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.3701, allocations: 67.83 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/0.3731, allocations: 3.973 MB / 1.086 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.3733, allocations: 24 kB / 1.086 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.3733, allocations: 12.16 kB / 1.086 GB, free: 6.969 MB / 0.8419 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.0001769/0.3735, allocations: 163.1 kB / 1.086 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.3736, allocations: 23.7 kB / 1.086 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008534/0.3745, allocations: 478.6 kB / 1.087 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3745, allocations: 4 kB / 1.087 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3745, allocations: 0 / 1.087 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3745, allocations: 3.984 kB / 1.087 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.376, allocations: 1.017 MB / 1.088 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.376, allocations: 4.25 kB / 1.088 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.3762, allocations: 31.98 kB / 1.088 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.3766, allocations: 151.2 kB / 1.088 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.3767, allocations: 15.92 kB / 1.088 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002894/0.3796, allocations: 3.95 MB / 1.092 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3796, allocations: 3.938 kB / 1.092 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007871/0.3804, allocations: 0.6255 MB / 1.092 GB, free: 20 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.3805, allocations: 124.8 kB / 1.092 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.3806, allocations: 8 kB / 1.092 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.3808, allocations: 27.97 kB / 1.093 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.3809, allocations: 19.92 kB / 1.093 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.3809, allocations: 8 kB / 1.093 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001441/0.381, allocations: 161.5 kB / 1.093 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.381, allocations: 0 / 1.093 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005059/0.3815, allocations: 87.94 kB / 1.093 GB, free: 15.57 MB / 0.8575 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.0002309/0.3818, allocations: 148.1 kB / 1.093 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009483/0.3827, allocations: 0.5714 MB / 1.093 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3828, allocations: 4 kB / 1.093 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.3833, allocations: 390.6 kB / 1.094 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/0.3838, allocations: 51.02 kB / 1.094 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3849, allocations: 0.7372 MB / 1.095 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.3853, allocations: 0.7869 MB / 1.095 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.3855, allocations: 58.25 kB / 1.095 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.3855, allocations: 19.44 kB / 1.095 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3856, allocations: 0 / 1.095 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of Templates: time 0.007658/0.3932, allocations: 4.009 MB / 1.099 GB, free: 8.699 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)