Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008548/0.0008546, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0058/0.0058, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 8.656 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.3998, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003667/0.4035, allocations: 2.766 MB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002923/0.4064, allocations: 1.901 MB / 1.079 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.4065, allocations: 0 / 1.079 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.4067, allocations: 39.7 kB / 1.079 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004611/0.4072, allocations: 171.3 kB / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.4077, allocations: 226.8 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.4082, allocations: 446.7 kB / 1.08 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006247/0.4088, allocations: 341.9 kB / 1.08 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.409, allocations: 103.6 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.4093, allocations: 143.5 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.4093, allocations: 12 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006655/0.41, allocations: 475 kB / 1.081 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.4101, allocations: 75.78 kB / 1.081 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.4102, allocations: 129.1 kB / 1.081 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005512/0.4108, allocations: 498.5 kB / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4108, allocations: 0 / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4108, allocations: 0 / 1.081 GB, free: 212 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.4108, allocations: 4 kB / 1.081 GB, free: 208 kB / 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.0007628/0.4116, allocations: 0.5108 MB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4116, allocations: 8.031 kB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007873/0.4124, allocations: 116.5 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.4127, allocations: 262.6 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.4128, allocations: 20.81 kB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.4128, allocations: 20.36 kB / 1.082 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.4133, allocations: 353.2 kB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.4134, allocations: 3.938 kB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.4134, allocations: 11.98 kB / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/0.4135, allocations: 28.36 kB / 1.083 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.4139, allocations: 297.5 kB / 1.083 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.4161, allocations: 1.733 MB / 1.084 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.4166, allocations: 318.1 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.4167, allocations: 117.5 kB / 1.085 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.4169, allocations: 93.09 kB / 1.085 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.4169, allocations: 30.84 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.4169, allocations: 0 / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.0025/0.4194, allocations: 0.9874 MB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.4195, allocations: 81.05 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.4197, allocations: 207.8 kB / 1.086 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.4197, allocations: 33.7 kB / 1.086 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.4198, allocations: 176.1 kB / 1.086 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/0.4199, allocations: 82.83 kB / 1.087 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.42, allocations: 29.7 kB / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4201, allocations: 330.8 kB / 1.087 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.4203, allocations: 131.9 kB / 1.087 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.4206, allocations: 213.2 kB / 1.087 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005483/0.4211, allocations: 367.6 kB / 1.088 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4211, allocations: 0 / 1.088 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00084/0.422, allocations: 0.5014 MB / 1.088 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.422, allocations: 8 kB / 1.088 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.422, allocations: 0 / 1.088 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005063/0.4225, allocations: 159.3 kB / 1.088 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.4228, allocations: 59.91 kB / 1.088 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/0.4265, allocations: 3.973 MB / 1.092 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.4267, allocations: 19.98 kB / 1.092 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.4267, allocations: 16.16 kB / 1.092 GB, free: 4.121 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.0002438/0.427, allocations: 161.8 kB / 1.092 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-05/0.4271, allocations: 19.81 kB / 1.092 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009278/0.428, allocations: 489.8 kB / 1.093 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.428, allocations: 0 / 1.093 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.428, allocations: 4 kB / 1.093 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.428, allocations: 0 / 1.093 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.4297, allocations: 1.009 MB / 1.094 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.4297, allocations: 8.125 kB / 1.094 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.4298, allocations: 39.8 kB / 1.094 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004114/0.4303, allocations: 143.3 kB / 1.094 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.4303, allocations: 11.94 kB / 1.094 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/0.4332, allocations: 3.954 MB / 1.098 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4333, allocations: 0 / 1.098 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.4341, allocations: 0.6294 MB / 1.098 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.4342, allocations: 132.7 kB / 1.099 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.4343, allocations: 12 kB / 1.099 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.4345, allocations: 19.98 kB / 1.099 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.4345, allocations: 23.97 kB / 1.099 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.4346, allocations: 8 kB / 1.099 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002064/0.4348, allocations: 157.5 kB / 1.099 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4348, allocations: 3.938 kB / 1.099 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005356/0.4353, allocations: 95.94 kB / 1.099 GB, free: 12.71 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.0002407/0.4356, allocations: 129.3 kB / 1.099 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009801/0.4366, allocations: 0.5753 MB / 1.1 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4366, allocations: 0 / 1.1 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005029/0.4371, allocations: 398.1 kB / 1.1 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.4376, allocations: 45.64 kB / 1.1 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.4388, allocations: 0.7603 MB / 1.101 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.4392, allocations: 0.7831 MB / 1.102 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001843/0.4394, allocations: 54.25 kB / 1.102 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.4395, allocations: 23.44 kB / 1.102 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.4395, allocations: 4 kB / 1.102 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of Templates: time 0.008293/0.4478, allocations: 3.936 MB / 1.105 GB, free: 5.898 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)