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.001581/0.001581, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.527/1.527, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.751/2.751, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.8 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3394, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006007/0.3454, allocations: 3.861 MB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003213/0.3487, allocations: 1.773 MB / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.349, allocations: 8 kB / 1.074 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.3505, allocations: 457.7 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000677/0.3511, allocations: 238.8 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007461/0.3519, allocations: 243.5 kB / 1.075 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005719/0.3525, allocations: 0.4984 MB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005675/0.3531, allocations: 369.1 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.3533, allocations: 191.3 kB / 1.076 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.3537, allocations: 235.2 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.158e-05/0.3537, allocations: 28 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.3541, allocations: 187.6 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3542, allocations: 139.6 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.3544, allocations: 175.1 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.3549, allocations: 482.5 kB / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3549, allocations: 8 kB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.845e-06/0.3549, allocations: 4 kB / 1.077 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.355, allocations: 0 / 1.077 GB, free: 1.52 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.001153/0.3561, allocations: 0.6587 MB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3562, allocations: 8.031 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005602/0.3567, allocations: 84.41 kB / 1.078 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.3571, allocations: 301.4 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.3572, allocations: 17.03 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.3572, allocations: 28.38 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007867/0.358, allocations: 493.9 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.358, allocations: 0 / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.3581, allocations: 12 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.443e-05/0.3581, allocations: 36.64 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/0.3588, allocations: 370.2 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.361, allocations: 2.037 MB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.3616, allocations: 222.6 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.362, allocations: 152.8 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.362, allocations: 4 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.362, allocations: 42.55 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.362, allocations: 0 / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.001075/0.3631, allocations: 420.7 kB / 1.082 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.3632, allocations: 51.41 kB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.3634, allocations: 262.7 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.3635, allocations: 33.69 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3636, allocations: 207.7 kB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.3637, allocations: 75.02 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.013e-05/0.3638, allocations: 61.83 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3639, allocations: 338.8 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.3642, allocations: 93.91 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.3645, allocations: 215.5 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.365, allocations: 315.2 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3651, allocations: 0 / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007344/0.3658, allocations: 358.9 kB / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3658, allocations: 4 kB / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3658, allocations: 4 kB / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.3661, allocations: 41.08 kB / 1.083 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.3663, allocations: 59.91 kB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.3678, allocations: 1.435 MB / 1.085 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.368, allocations: 39.77 kB / 1.085 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.3681, allocations: 16 kB / 1.085 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003456/0.3684, allocations: 220.5 kB / 1.085 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003083/0.3687, allocations: 213 kB / 1.085 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005153/0.3692, allocations: 319.1 kB / 1.086 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.3693, allocations: 4 kB / 1.086 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000636/0.3699, allocations: 340.3 kB / 1.086 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.3699, allocations: 4 kB / 1.086 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3699, allocations: 4.047 kB / 1.086 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.3699, allocations: 11.98 kB / 1.086 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.3702, allocations: 67.89 kB / 1.086 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.3702, allocations: 11.94 kB / 1.086 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.3705, allocations: 27.83 kB / 1.086 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.3705, allocations: 24.14 kB / 1.086 GB, free: 7.117 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.0001204/0.3706, allocations: 200.7 kB / 1.086 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.3707, allocations: 27.72 kB / 1.086 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.551e-05/0.3707, allocations: 34.11 kB / 1.086 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.3707, allocations: 4 kB / 1.086 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3708, allocations: 0 / 1.086 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3708, allocations: 4 kB / 1.086 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.3719, allocations: 0.7511 MB / 1.087 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3719, allocations: 4 kB / 1.087 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.3721, allocations: 40.03 kB / 1.087 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.3722, allocations: 24.84 kB / 1.087 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3723, allocations: 0 / 1.087 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009886/0.3732, allocations: 1.433 MB / 1.089 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3733, allocations: 0 / 1.089 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/0.3739, allocations: 368 kB / 1.089 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.3741, allocations: 120.8 kB / 1.089 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.3741, allocations: 8 kB / 1.089 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.3743, allocations: 11.98 kB / 1.089 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.3744, allocations: 19.97 kB / 1.089 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.3744, allocations: 7.938 kB / 1.089 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001852/0.3746, allocations: 190 kB / 1.089 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3746, allocations: 0 / 1.089 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005949/0.3752, allocations: 139.5 kB / 1.089 GB, free: 3.484 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.000124/0.3753, allocations: 107.7 kB / 1.09 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.3766, allocations: 0.4967 MB / 1.09 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3766, allocations: 0 / 1.09 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.377, allocations: 219.6 kB / 1.09 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.3775, allocations: 76.06 kB / 1.09 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009049/0.3784, allocations: 0.5583 MB / 1.091 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.3788, allocations: 0.8035 MB / 1.092 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002172/0.379, allocations: 70.31 kB / 1.092 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.3791, allocations: 23.42 kB / 1.092 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3791, allocations: 3.938 kB / 1.092 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of Templates: time 0.007853/0.387, allocations: 3.505 MB / 1.095 GB, free: 13.57 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)