Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 105.4 kB / 15.7 MB, free: 24 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.002229/0.002229, allocations: 199.1 kB / 16.64 MB, free: 6.453 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.496/1.496, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.867/1.867, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001455/0.001455, allocations: 70.94 kB / 0.6723 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2815, allocations: 114.5 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006568/0.2881, allocations: 4.083 MB / 0.7881 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002938/0.2911, allocations: 1.586 MB / 0.7897 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.2913, allocations: 8 kB / 0.7897 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.293, allocations: 0.5876 MB / 0.7902 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005656/0.2936, allocations: 234.9 kB / 0.7905 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.2942, allocations: 203.6 kB / 0.7907 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006931/0.2949, allocations: 0.5413 MB / 0.7912 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000731/0.2957, allocations: 481.7 kB / 0.7916 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.2959, allocations: 223.3 kB / 0.7919 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.2964, allocations: 255.1 kB / 0.7921 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.2965, allocations: 36 kB / 0.7921 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.2968, allocations: 167.7 kB / 0.7923 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.297, allocations: 151.6 kB / 0.7924 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.2972, allocations: 199 kB / 0.7926 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006396/0.2978, allocations: 0.514 MB / 0.7931 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.2979, allocations: 0 / 0.7931 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2979, allocations: 4 kB / 0.7931 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.2979, allocations: 0 / 0.7931 GB, free: 3.512 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001449/0.2993, allocations: 0.6825 MB / 0.7938 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.2994, allocations: 8.031 kB / 0.7938 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007528/0.3002, allocations: 104.5 kB / 0.7939 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.3006, allocations: 307.6 kB / 0.7942 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.841e-05/0.3007, allocations: 59.25 kB / 0.7943 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.3008, allocations: 32.38 kB / 0.7943 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.3016, allocations: 0.5009 MB / 0.7948 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3016, allocations: 4 kB / 0.7948 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.3017, allocations: 19.98 kB / 0.7948 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/0.3017, allocations: 28.98 kB / 0.7948 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.3024, allocations: 383.6 kB / 0.7952 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.3047, allocations: 2.2 MB / 0.7973 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006881/0.3054, allocations: 270.6 kB / 0.7976 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.3058, allocations: 152.8 kB / 0.7977 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.3058, allocations: 3.938 kB / 0.7978 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3059, allocations: 38.56 kB / 0.7978 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 3.236e-06/0.3059, allocations: 3.984 kB / 0.7978 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001468/0.3074, allocations: 0.5699 MB / 0.7983 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.3074, allocations: 55.41 kB / 0.7984 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.3076, allocations: 229 kB / 0.7986 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3077, allocations: 29.7 kB / 0.7986 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3078, allocations: 215.6 kB / 0.7989 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.3079, allocations: 63.09 kB / 0.7989 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.3079, allocations: 53.61 kB / 0.799 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3081, allocations: 330.8 kB / 0.7993 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.3083, allocations: 104.7 kB / 0.7994 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.3086, allocations: 182.3 kB / 0.7996 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.309, allocations: 269.2 kB / 0.7998 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.309, allocations: 0 / 0.7998 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008255/0.3099, allocations: 385.2 kB / 0.8002 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3099, allocations: 4 kB / 0.8002 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3099, allocations: 4 kB / 0.8002 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.3104, allocations: 105.8 kB / 0.8003 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.3106, allocations: 51.91 kB / 0.8003 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/0.3138, allocations: 3.051 MB / 0.8033 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.3141, allocations: 31.73 kB / 0.8033 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.3141, allocations: 8 kB / 0.8034 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003207/0.3144, allocations: 224.7 kB / 0.8036 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002704/0.3147, allocations: 175.1 kB / 0.8037 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004755/0.3152, allocations: 280.1 kB / 0.804 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.3152, allocations: 0 / 0.804 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007507/0.316, allocations: 346.2 kB / 0.8043 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.316, allocations: 11.94 kB / 0.8043 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.316, allocations: 0 / 0.8043 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.3163, allocations: 80.81 kB / 0.8044 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.3165, allocations: 55.91 kB / 0.8045 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.3185, allocations: 1.62 MB / 0.8061 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.3187, allocations: 35.67 kB / 0.8061 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.3188, allocations: 15.94 kB / 0.8061 GB, free: 5.156 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.3189, allocations: 192.2 kB / 0.8063 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.319, allocations: 23.8 kB / 0.8063 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/0.319, allocations: 22.19 kB / 0.8063 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.319, allocations: 8 kB / 0.8063 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.319, allocations: 0 / 0.8063 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3191, allocations: 7.922 kB / 0.8063 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.3204, allocations: 0.8251 MB / 0.8072 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3204, allocations: 0 / 0.8072 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.3206, allocations: 35.97 kB / 0.8072 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/0.3209, allocations: 105.6 kB / 0.8073 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.321, allocations: 4 kB / 0.8073 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/0.3238, allocations: 3.028 MB / 0.8102 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3238, allocations: 4.031 kB / 0.8103 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007501/0.3246, allocations: 407 kB / 0.8106 GB, free: 112 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.3247, allocations: 128.9 kB / 0.8108 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.3247, allocations: 7.938 kB / 0.8108 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.3249, allocations: 11.98 kB / 0.8108 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/0.325, allocations: 23.97 kB / 0.8108 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.325, allocations: 8 kB / 0.8108 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000141/0.3252, allocations: 160.5 kB / 0.811 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3252, allocations: 0 / 0.811 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006567/0.3258, allocations: 171.3 kB / 0.8111 GB, free: 15.59 MB / 0.6387 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001304/0.326, allocations: 99.23 kB / 0.8112 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001882/0.3279, allocations: 0.7728 MB / 0.812 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3279, allocations: 0 / 0.812 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007542/0.3286, allocations: 365.8 kB / 0.8123 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.3291, allocations: 67.83 kB / 0.8124 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3301, allocations: 0.5789 MB / 0.813 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.3305, allocations: 0.8107 MB / 0.8138 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.3307, allocations: 62.23 kB / 0.8138 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/0.3308, allocations: 19.44 kB / 0.8138 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.3308, allocations: 0 / 0.8138 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of Templates: time 0.009215/0.34, allocations: 4.666 MB / 0.8184 GB, free: 8.078 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)