Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01116/0.01116, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.37/1.37, 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.804/2.804, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004181, allocations: 9.156 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3478, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005313/0.3532, allocations: 3.747 MB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002665/0.3559, allocations: 1.57 MB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.3561, allocations: 8 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.3564, allocations: 67.44 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006282/0.3571, allocations: 215.1 kB / 1.08 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006213/0.3577, allocations: 201.1 kB / 1.08 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007662/0.3585, allocations: 0.7715 MB / 1.081 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005418/0.359, allocations: 442.4 kB / 1.081 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.3593, allocations: 187.2 kB / 1.081 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004395/0.3597, allocations: 235.2 kB / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.3598, allocations: 20 kB / 1.081 GB, free: 48 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/0.3602, allocations: 199.5 kB / 1.082 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.3603, allocations: 135.6 kB / 1.082 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.3605, allocations: 192.8 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005439/0.3611, allocations: 0.5179 MB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3611, allocations: 0 / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3611, allocations: 4 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.3611, allocations: 0 / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001122/0.3622, allocations: 0.6126 MB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3623, allocations: 8.031 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007067/0.363, allocations: 108.4 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.3634, allocations: 295.6 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.197e-05/0.3635, allocations: 59.2 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.3635, allocations: 32.38 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008357/0.3644, allocations: 0.5087 MB / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3644, allocations: 0 / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.3645, allocations: 27.92 kB / 1.084 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/0.3645, allocations: 32.98 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007194/0.3652, allocations: 383.7 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.3677, allocations: 2.223 MB / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.3684, allocations: 266.7 kB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.3688, allocations: 160.7 kB / 1.087 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.3689, allocations: 4 kB / 1.087 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.3689, allocations: 38.5 kB / 1.087 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=19): time 1.873e-06/0.3689, allocations: 0 / 1.087 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.001543/0.3705, allocations: 0.5925 MB / 1.088 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.3705, allocations: 55.41 kB / 1.088 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.3707, allocations: 225 kB / 1.088 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.3708, allocations: 29.7 kB / 1.088 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.3709, allocations: 207.7 kB / 1.088 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.371, allocations: 74.92 kB / 1.088 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.371, allocations: 29.7 kB / 1.088 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3711, allocations: 330.8 kB / 1.089 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.3714, allocations: 91.94 kB / 1.089 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.3716, allocations: 188.3 kB / 1.089 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.3722, allocations: 286.9 kB / 1.089 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3722, allocations: 4 kB / 1.089 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008893/0.3731, allocations: 382.8 kB / 1.089 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.3732, allocations: 170.9 kB / 1.09 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3732, allocations: 4 kB / 1.09 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.3738, allocations: 109.6 kB / 1.09 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.374, allocations: 47.97 kB / 1.09 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.3774, allocations: 2.839 MB / 1.093 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.3777, allocations: 39.67 kB / 1.093 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.3777, allocations: 11.94 kB / 1.093 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.3777, allocations: 4 kB / 1.093 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007918/0.3785, allocations: 326.2 kB / 1.093 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.3785, allocations: 0 / 1.093 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/0.3788, allocations: 80.92 kB / 1.093 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.379, allocations: 55.91 kB / 1.093 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.381, allocations: 1.495 MB / 1.094 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.3812, allocations: 35.83 kB / 1.094 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.3813, allocations: 8 kB / 1.094 GB, free: 1.605 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002813/0.3815, allocations: 257 kB / 1.095 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.3816, allocations: 23.72 kB / 1.095 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.3817, allocations: 22.19 kB / 1.095 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3817, allocations: 7.938 kB / 1.095 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3817, allocations: 8 kB / 1.095 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3817, allocations: 3.984 kB / 1.095 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.3833, allocations: 0.8339 MB / 1.096 GB, free: 380 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3833, allocations: 0 / 1.096 GB, free: 380 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.3834, allocations: 35.98 kB / 1.096 GB, free: 344 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003754/0.3838, allocations: 105.8 kB / 1.096 GB, free: 232 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3838, allocations: 4 kB / 1.096 GB, free: 228 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002799/0.3866, allocations: 2.806 MB / 1.099 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3867, allocations: 0 / 1.099 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008351/0.3875, allocations: 426.6 kB / 1.099 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.3876, allocations: 120.7 kB / 1.099 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.3877, allocations: 11.98 kB / 1.099 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.3878, allocations: 8 kB / 1.099 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.3879, allocations: 27.84 kB / 1.099 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.388, allocations: 8 kB / 1.099 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001641/0.3881, allocations: 164.5 kB / 1.099 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3881, allocations: 0 / 1.099 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006712/0.3888, allocations: 167.4 kB / 1.099 GB, free: 12.18 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * 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.0001477/0.389, allocations: 103.7 kB / 1.099 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001938/0.3909, allocations: 0.768 MB / 1.1 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.3909, allocations: 0 / 1.1 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008726/0.3918, allocations: 377.6 kB / 1.101 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.3923, allocations: 58.77 kB / 1.101 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.3935, allocations: 0.7332 MB / 1.101 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.3939, allocations: 0.8146 MB / 1.102 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.3941, allocations: 54.23 kB / 1.102 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.3942, allocations: 23.44 kB / 1.102 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of SimCode: time 7.71e-07/0.3942, allocations: 3.938 kB / 1.102 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of Templates: time 0.008911/0.4031, allocations: 4.245 MB / 1.106 GB, free: 4.922 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)