Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001782/0.001782, allocations: 116.7 kB / 16.38 MB, free: 5.996 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.001999/0.001999, allocations: 190.5 kB / 17.31 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.89 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.215, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.3659/0.581, allocations: 3.834 MB / 0.7885 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.5835, allocations: 1.77 MB / 0.7903 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.5837, allocations: 11.5 kB / 0.7903 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.5849, allocations: 440.5 kB / 0.7907 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.5854, allocations: 253.1 kB / 0.7909 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.586, allocations: 249.3 kB / 0.7912 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.5864, allocations: 0.4888 MB / 0.7916 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005236/0.5869, allocations: 363.4 kB / 0.792 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.5871, allocations: 193.5 kB / 0.7922 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.5875, allocations: 242.2 kB / 0.7924 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.5876, allocations: 29.84 kB / 0.7924 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.5878, allocations: 185 kB / 0.7926 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.5879, allocations: 128.6 kB / 0.7927 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.5881, allocations: 181.1 kB / 0.7929 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.5886, allocations: 498 kB / 0.7934 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5886, allocations: 0 / 0.7934 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5886, allocations: 4.031 kB / 0.7934 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.5886, allocations: 0.625 kB / 0.7934 GB, free: 46.85 MB / 0.6544 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.0009405/0.5896, allocations: 0.6574 MB / 0.794 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5896, allocations: 13.72 kB / 0.794 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005384/0.5902, allocations: 80.44 kB / 0.7941 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.5905, allocations: 305.5 kB / 0.7944 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.5905, allocations: 18.69 kB / 0.7944 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.5906, allocations: 30.8 kB / 0.7945 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.5913, allocations: 490.1 kB / 0.7949 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.5913, allocations: 3.5 kB / 0.7949 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.5913, allocations: 19.23 kB / 0.795 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.5914, allocations: 38.62 kB / 0.795 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006256/0.592, allocations: 374 kB / 0.7953 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.5936, allocations: 2.027 MB / 0.7973 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.5941, allocations: 214.3 kB / 0.7975 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.5944, allocations: 153.9 kB / 0.7977 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.5945, allocations: 3.25 kB / 0.7977 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.5945, allocations: 35.2 kB / 0.7977 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.5945, allocations: 0 / 0.7977 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0009883/0.5955, allocations: 423.4 kB / 0.7981 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.5955, allocations: 56.56 kB / 0.7982 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.5957, allocations: 264.7 kB / 0.7984 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.5958, allocations: 29.7 kB / 0.7984 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.5959, allocations: 213.8 kB / 0.7987 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.5959, allocations: 61.52 kB / 0.7987 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.596, allocations: 59.81 kB / 0.7988 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.596, allocations: 343.7 kB / 0.7991 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.5963, allocations: 98.91 kB / 0.7992 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.5966, allocations: 202.9 kB / 0.7994 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.597, allocations: 311.1 kB / 0.7997 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.597, allocations: 2.562 kB / 0.7997 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00068/0.5977, allocations: 355.3 kB / 0.8 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5978, allocations: 6.312 kB / 0.8 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.5978, allocations: 7.938 kB / 0.8 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.598, allocations: 32.94 kB / 0.8001 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.5982, allocations: 67.09 kB / 0.8001 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.5993, allocations: 1.434 MB / 0.8015 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.5995, allocations: 47.72 kB / 0.8016 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.5996, allocations: 17.17 kB / 0.8016 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003115/0.5999, allocations: 215.5 kB / 0.8018 GB, free: 41.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000281/0.6002, allocations: 216.8 kB / 0.802 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004745/0.6007, allocations: 322.1 kB / 0.8023 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/0.6007, allocations: 0 / 0.8023 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006289/0.6013, allocations: 337.6 kB / 0.8026 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.6013, allocations: 8.688 kB / 0.8026 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6013, allocations: 4.344 kB / 0.8026 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.6014, allocations: 6.797 kB / 0.8027 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.6016, allocations: 73.84 kB / 0.8027 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.6016, allocations: 8.469 kB / 0.8027 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.6019, allocations: 40.72 kB / 0.8028 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.6019, allocations: 14.53 kB / 0.8028 GB, free: 40.73 MB / 0.6544 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 8.436e-05/0.602, allocations: 204.1 kB / 0.803 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.602, allocations: 22.69 kB / 0.803 GB, free: 40.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.536e-05/0.6021, allocations: 33.28 kB / 0.803 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.6021, allocations: 1.469 kB / 0.803 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6021, allocations: 0 / 0.803 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6021, allocations: 2.531 kB / 0.803 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.6032, allocations: 0.7522 MB / 0.8038 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6032, allocations: 1.375 kB / 0.8038 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.6034, allocations: 49.03 kB / 0.8038 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.884e-05/0.6035, allocations: 22.28 kB / 0.8038 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.6035, allocations: 6.406 kB / 0.8038 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007207/0.6043, allocations: 1.416 MB / 0.8052 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6043, allocations: 2.062 kB / 0.8052 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.6049, allocations: 373 kB / 0.8056 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.605, allocations: 116.3 kB / 0.8057 GB, free: 38.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.605, allocations: 6.234 kB / 0.8057 GB, free: 38.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.6052, allocations: 21.31 kB / 0.8057 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.6053, allocations: 23.09 kB / 0.8057 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.6053, allocations: 8.188 kB / 0.8058 GB, free: 38.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000155/0.6055, allocations: 183.2 kB / 0.8059 GB, free: 38.08 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6055, allocations: 0 / 0.8059 GB, free: 38.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005788/0.6061, allocations: 145 kB / 0.8061 GB, free: 38.05 MB / 0.6544 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 9.078e-05/0.6061, allocations: 105.6 kB / 0.8062 GB, free: 37.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.6072, allocations: 0.4893 MB / 0.8066 GB, free: 37.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6072, allocations: 1.094 kB / 0.8066 GB, free: 37.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.6075, allocations: 215.6 kB / 0.8069 GB, free: 37.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.608, allocations: 80.7 kB / 0.8069 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009544/0.609, allocations: 0.5899 MB / 0.8075 GB, free: 37.24 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.6093, allocations: 0.7984 MB / 0.8083 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.6094, allocations: 27.98 kB / 0.8083 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6094, allocations: 1.125 kB / 0.8083 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.008818/0.6182, allocations: 4.767 MB / 0.813 GB, free: 36.23 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)