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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001432, allocations: 197.3 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205 MB / 0.6354 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 105 kB / 0.748 GB, free: 61.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 51.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2508, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.008279/0.2591, allocations: 3.886 MB / 0.986 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003853/0.263, allocations: 1.766 MB / 0.9877 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.2633, allocations: 4 kB / 0.9877 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.265, allocations: 434.5 kB / 0.9882 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008228/0.2659, allocations: 231 kB / 0.9884 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.2667, allocations: 227.7 kB / 0.9886 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.2678, allocations: 0.7051 MB / 0.9893 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005519/0.2684, allocations: 241 kB / 0.9895 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.2687, allocations: 171.3 kB / 0.9897 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004816/0.2692, allocations: 243.1 kB / 0.9899 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/0.2692, allocations: 20 kB / 0.9899 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005557/0.2698, allocations: 231.5 kB / 0.9901 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.27, allocations: 119.7 kB / 0.9903 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.2703, allocations: 175.1 kB / 0.9904 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007038/0.271, allocations: 494.7 kB / 0.9909 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.271, allocations: 4 kB / 0.9909 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.022e-06/0.271, allocations: 0 / 0.9909 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.271, allocations: 4 kB / 0.9909 GB, free: 1.434 MB / 0.7136 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.001539/0.2726, allocations: 0.6509 MB / 0.9915 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.2726, allocations: 12.03 kB / 0.9915 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008526/0.2735, allocations: 88.48 kB / 0.9916 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.2741, allocations: 295.3 kB / 0.9919 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.2741, allocations: 25.02 kB / 0.9919 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.2742, allocations: 28.31 kB / 0.992 GB, free: 264 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.2754, allocations: 494 kB / 0.9924 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.2755, allocations: 0 / 0.9924 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.2755, allocations: 15.98 kB / 0.9925 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9e-05/0.2756, allocations: 40.62 kB / 0.9925 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.2768, allocations: 370.2 kB / 0.9928 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.2798, allocations: 2.037 MB / 0.9948 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008164/0.2807, allocations: 218.7 kB / 0.995 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005843/0.2813, allocations: 160.8 kB / 0.9952 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.2813, allocations: 0 / 0.9952 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2814, allocations: 38.56 kB / 0.9952 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/0.2814, allocations: 0 / 0.9952 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0016/0.283, allocations: 421.7 kB / 0.9956 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.2831, allocations: 55.39 kB / 0.9957 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.2834, allocations: 262.6 kB / 0.9959 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.2835, allocations: 33.7 kB / 0.996 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.2837, allocations: 203.8 kB / 0.9962 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.2838, allocations: 63.11 kB / 0.9962 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.2839, allocations: 61.88 kB / 0.9963 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2841, allocations: 334.8 kB / 0.9966 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.2845, allocations: 101.9 kB / 0.9967 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.285, allocations: 203.6 kB / 0.9969 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/0.2858, allocations: 319.8 kB / 0.9972 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2858, allocations: 0 / 0.9972 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001213/0.2871, allocations: 357.9 kB / 0.9975 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.2871, allocations: 4 kB / 0.9975 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.2871, allocations: 7.984 kB / 0.9976 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/0.2874, allocations: 33.03 kB / 0.9976 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.2878, allocations: 67.89 kB / 0.9976 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.2895, allocations: 1.339 MB / 0.999 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.2899, allocations: 43.67 kB / 0.999 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.29, allocations: 12 kB / 0.999 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005431/0.2905, allocations: 216.6 kB / 0.9992 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004986/0.291, allocations: 224.2 kB / 0.9994 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008302/0.2919, allocations: 311.1 kB / 0.9997 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.172e-06/0.2919, allocations: 0 / 0.9997 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.001081/0.293, allocations: 344.8 kB / 1 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.293, allocations: 4 kB / 1 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.293, allocations: 7.938 kB / 1 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.2931, allocations: 8.5 kB / 1 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.2935, allocations: 75.89 kB / 1 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2935, allocations: 4 kB / 1 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.2939, allocations: 31.83 kB / 1 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.2939, allocations: 16 kB / 1 GB, free: 7.133 MB / 0.7292 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.0002031/0.2942, allocations: 204.1 kB / 1 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.2943, allocations: 31.66 kB / 1 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.704e-05/0.2944, allocations: 30.19 kB / 1 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.2944, allocations: 7.984 kB / 1 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2944, allocations: 0 / 1 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2944, allocations: 0 / 1 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.2962, allocations: 0.7558 MB / 1.001 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2963, allocations: 0 / 1.001 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.2966, allocations: 43.91 kB / 1.001 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001468/0.2967, allocations: 24.84 kB / 1.001 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.2968, allocations: 4.062 kB / 1.001 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.2982, allocations: 1.319 MB / 1.003 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2982, allocations: 4.062 kB / 1.003 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.3, allocations: 1.037 MB / 1.004 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.3002, allocations: 124.7 kB / 1.004 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.3002, allocations: 0 / 1.004 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.3005, allocations: 15.98 kB / 1.004 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.3006, allocations: 15.98 kB / 1.004 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.3007, allocations: 15.92 kB / 1.004 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002617/0.3009, allocations: 178 kB / 1.004 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3009, allocations: 4 kB / 1.004 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001421/0.3024, allocations: 147.5 kB / 1.004 GB, free: 2.891 MB / 0.7292 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.0001836/0.3026, allocations: 103.2 kB / 1.004 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.3042, allocations: 483.9 kB / 1.005 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3042, allocations: 4.062 kB / 1.005 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.3047, allocations: 218.5 kB / 1.005 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008149/0.3056, allocations: 74.45 kB / 1.005 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.3072, allocations: 0.8376 MB / 1.006 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.3078, allocations: 0.8151 MB / 1.007 GB, free: 268 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004056/0.3082, allocations: 70.36 kB / 1.007 GB, free: 196 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.3083, allocations: 27.38 kB / 1.007 GB, free: 172 kB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.3083, allocations: 0 / 1.007 GB, free: 172 kB / 0.7292 GB Notification: Performance of Templates: time 0.01038/0.3187, allocations: 3.343 MB / 1.01 GB, free: 12.85 MB / 0.7448 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)