Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001448/0.001448, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 67.53 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3499, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005643/0.3556, allocations: 3.887 MB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.3588, allocations: 1.753 MB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.3591, allocations: 15.94 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.3605, allocations: 422.6 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007019/0.3612, allocations: 231 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006937/0.3619, allocations: 227 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007057/0.3626, allocations: 0.4906 MB / 1.075 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006993/0.3633, allocations: 405.1 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.3637, allocations: 199.3 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004739/0.3641, allocations: 247.1 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.712e-05/0.3642, allocations: 28 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.3646, allocations: 191.5 kB / 1.076 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.3648, allocations: 123.7 kB / 1.076 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.365, allocations: 183 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.3656, allocations: 0.4907 MB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3656, allocations: 0 / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3656, allocations: 0 / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.3656, allocations: 0 / 1.076 GB, free: 1.902 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001148/0.3668, allocations: 0.6665 MB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3668, allocations: 11.97 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005549/0.3674, allocations: 80.41 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.3677, allocations: 297.4 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.3678, allocations: 25.02 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.3678, allocations: 28.38 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.3686, allocations: 489.9 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3686, allocations: 4 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.3687, allocations: 16 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-05/0.3687, allocations: 36.62 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007118/0.3694, allocations: 366.2 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.3715, allocations: 2.041 MB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.372, allocations: 214.6 kB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.3724, allocations: 160.8 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.3724, allocations: 0 / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.3725, allocations: 42.56 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.3725, allocations: 0 / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.001046/0.3735, allocations: 420.5 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.3736, allocations: 59.34 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.3739, allocations: 258.7 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.3739, allocations: 29.7 kB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.374, allocations: 211.7 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.3741, allocations: 67.03 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.3742, allocations: 53.89 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3743, allocations: 346.8 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.3746, allocations: 93.86 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.3749, allocations: 203.6 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005934/0.3755, allocations: 318.7 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3755, allocations: 4 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007204/0.3762, allocations: 359.1 kB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3762, allocations: 12.09 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3763, allocations: 4 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001941/0.3765, allocations: 32.78 kB / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.3767, allocations: 63.89 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.3782, allocations: 1.449 MB / 1.084 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.3785, allocations: 43.67 kB / 1.085 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.3785, allocations: 8 kB / 1.085 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003512/0.3789, allocations: 216.6 kB / 1.085 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000346/0.3792, allocations: 215 kB / 1.085 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005085/0.3797, allocations: 315.1 kB / 1.085 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.476e-06/0.3797, allocations: 4 kB / 1.085 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000642/0.3804, allocations: 332.8 kB / 1.086 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3804, allocations: 11.98 kB / 1.086 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3804, allocations: 4 kB / 1.086 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-06/0.3804, allocations: 4.5 kB / 1.086 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.3807, allocations: 75.84 kB / 1.086 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.3807, allocations: 11.98 kB / 1.086 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.381, allocations: 31.83 kB / 1.086 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.381, allocations: 12 kB / 1.086 GB, free: 7.484 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.3811, allocations: 204.1 kB / 1.086 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.3812, allocations: 23.72 kB / 1.086 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.3813, allocations: 38.17 kB / 1.086 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3813, allocations: 0 / 1.086 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3813, allocations: 0 / 1.086 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.3813, allocations: 7.922 kB / 1.086 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.3825, allocations: 0.7477 MB / 1.087 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3826, allocations: 0 / 1.087 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.3827, allocations: 43.91 kB / 1.087 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.847e-05/0.3829, allocations: 28.83 kB / 1.087 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.3829, allocations: 8.062 kB / 1.087 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.384, allocations: 1.418 MB / 1.088 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.384, allocations: 3.938 kB / 1.088 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.3846, allocations: 369.7 kB / 1.089 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3847, allocations: 124.7 kB / 1.089 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.3847, allocations: 0 / 1.089 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.3849, allocations: 15.98 kB / 1.089 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.385, allocations: 15.98 kB / 1.089 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.385, allocations: 11.94 kB / 1.089 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001603/0.3852, allocations: 186 kB / 1.089 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3852, allocations: 0 / 1.089 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006135/0.3858, allocations: 143.5 kB / 1.089 GB, free: 3.848 MB / 0.8419 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 (18): * 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: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000138/0.386, allocations: 103.2 kB / 1.089 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.3871, allocations: 0.5093 MB / 1.09 GB, free: 3.215 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3871, allocations: 4.062 kB / 1.09 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.3875, allocations: 214.6 kB / 1.09 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.388, allocations: 65.44 kB / 1.09 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.389, allocations: 0.6897 MB / 1.091 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.3894, allocations: 0.8035 MB / 1.091 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002262/0.3896, allocations: 70.22 kB / 1.091 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.3897, allocations: 23.44 kB / 1.091 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.3897, allocations: 0 / 1.091 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of Templates: time 0.007078/0.3968, allocations: 3.394 MB / 1.095 GB, free: 13.92 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)