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.001494/0.001494, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001737/0.001737, allocations: 193.3 kB / 16.25 MB, free: 6.625 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.605/1.605, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.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.694/1.694, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001485/0.001485, allocations: 68.17 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3261, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.00688/0.333, allocations: 3.871 MB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003714/0.3368, allocations: 1.754 MB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006693/0.3375, allocations: 7.938 kB / 0.7884 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.3396, allocations: 433.8 kB / 0.7888 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.3407, allocations: 227 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008399/0.3415, allocations: 227.5 kB / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009022/0.3425, allocations: 0.4907 MB / 0.7897 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009915/0.3435, allocations: 405.1 kB / 0.7901 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.3439, allocations: 199.3 kB / 0.7903 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007382/0.3446, allocations: 243.1 kB / 0.7905 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.3447, allocations: 32 kB / 0.7905 GB, free: 6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.3452, allocations: 183.6 kB / 0.7907 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.3454, allocations: 131.7 kB / 0.7908 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003238/0.3457, allocations: 183.1 kB / 0.791 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008206/0.3466, allocations: 498.4 kB / 0.7915 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3466, allocations: 3.938 kB / 0.7915 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3466, allocations: 0 / 0.7915 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.157e-05/0.3466, allocations: 4 kB / 0.7915 GB, free: 5.016 MB / 0.6075 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.001792/0.3484, allocations: 0.6588 MB / 0.7921 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.3485, allocations: 12.03 kB / 0.7921 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000676/0.3492, allocations: 80.41 kB / 0.7922 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.3497, allocations: 295.3 kB / 0.7925 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.3497, allocations: 25.02 kB / 0.7925 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.3498, allocations: 28.38 kB / 0.7925 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.351, allocations: 490 kB / 0.793 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.351, allocations: 3.938 kB / 0.793 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.3511, allocations: 19.98 kB / 0.793 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.487e-05/0.3511, allocations: 48.61 kB / 0.7931 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007795/0.3519, allocations: 358.3 kB / 0.7934 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.3547, allocations: 2.041 MB / 0.7954 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.3554, allocations: 206.6 kB / 0.7956 GB, free: 460 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.3558, allocations: 160.8 kB / 0.7958 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3558, allocations: 0 / 0.7958 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.3559, allocations: 38.56 kB / 0.7958 GB, free: 248 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.3559, allocations: 4 kB / 0.7958 GB, free: 244 kB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001147/0.357, allocations: 421.5 kB / 0.7962 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.3571, allocations: 55.41 kB / 0.7963 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.3574, allocations: 262.6 kB / 0.7965 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.3574, allocations: 33.7 kB / 0.7965 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.3576, allocations: 211.7 kB / 0.7967 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/0.3576, allocations: 71.03 kB / 0.7968 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.3578, allocations: 57.89 kB / 0.7969 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3579, allocations: 338.8 kB / 0.7972 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.3582, allocations: 97.91 kB / 0.7973 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.3585, allocations: 203.6 kB / 0.7975 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/0.359, allocations: 313.4 kB / 0.7978 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3591, allocations: 0 / 0.7978 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000864/0.3599, allocations: 360 kB / 0.7981 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.36, allocations: 4.469 kB / 0.7981 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.36, allocations: 8 kB / 0.7981 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.3602, allocations: 32.84 kB / 0.7982 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.3605, allocations: 63.89 kB / 0.7982 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.3621, allocations: 1.445 MB / 0.7996 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.3624, allocations: 39.67 kB / 0.7997 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.3625, allocations: 12 kB / 0.7997 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003558/0.3628, allocations: 216.6 kB / 0.7999 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003867/0.3632, allocations: 212.7 kB / 0.8001 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006482/0.3639, allocations: 324.5 kB / 0.8004 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.3639, allocations: 0 / 0.8004 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006854/0.3646, allocations: 336.8 kB / 0.8007 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.3646, allocations: 4 kB / 0.8007 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3646, allocations: 4 kB / 0.8007 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.3646, allocations: 8 kB / 0.8007 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.3649, allocations: 72.36 kB / 0.8008 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.3649, allocations: 11.94 kB / 0.8008 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.3652, allocations: 31.83 kB / 0.8008 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.3652, allocations: 16 kB / 0.8009 GB, free: 10.61 MB / 0.6231 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.000146/0.3653, allocations: 200.1 kB / 0.8011 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.3654, allocations: 31.7 kB / 0.8011 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.3655, allocations: 26.19 kB / 0.8011 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3655, allocations: 8 kB / 0.8011 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3655, allocations: 0 / 0.8011 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.3655, allocations: 3.984 kB / 0.8011 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.3667, allocations: 0.7576 MB / 0.8019 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3667, allocations: 0 / 0.8019 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.3669, allocations: 39.97 kB / 0.8019 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.367, allocations: 24.84 kB / 0.8019 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.367, allocations: 0 / 0.8019 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.3684, allocations: 1.434 MB / 0.8033 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3685, allocations: 3.984 kB / 0.8033 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/0.3693, allocations: 364.7 kB / 0.8037 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.3694, allocations: 124.7 kB / 0.8038 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.3694, allocations: 0 / 0.8038 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.3696, allocations: 15.98 kB / 0.8038 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.3697, allocations: 15.98 kB / 0.8038 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3697, allocations: 11.88 kB / 0.8038 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002265/0.3699, allocations: 190 kB / 0.804 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.37, allocations: 0 / 0.804 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006292/0.3706, allocations: 147.4 kB / 0.8042 GB, free: 6.965 MB / 0.6231 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.0001555/0.3708, allocations: 103.2 kB / 0.8043 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.3719, allocations: 0.4921 MB / 0.8047 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.3719, allocations: 0 / 0.8047 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.3723, allocations: 226.6 kB / 0.805 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/0.3728, allocations: 77.67 kB / 0.805 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.3742, allocations: 0.6895 MB / 0.8057 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007745/0.375, allocations: 0.7957 MB / 0.8065 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002432/0.3752, allocations: 62.23 kB / 0.8065 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.3753, allocations: 31.44 kB / 0.8066 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.3753, allocations: 3.938 kB / 0.8066 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of Templates: time 0.007964/0.3833, allocations: 3.398 MB / 0.8099 GB, free: 1.043 MB / 0.6231 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)