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.00115/0.00115, 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.001322/0.001322, allocations: 199.8 kB / 16.26 MB, free: 6.621 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.606/1.606, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.682/1.682, allocations: 292.3 MB / 0.5485 GB, free: 13.66 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.001533/0.001534, allocations: 67.12 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2856, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.00649/0.2922, allocations: 4.102 MB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002435/0.2946, allocations: 1.579 MB / 0.7884 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.2948, allocations: 7.938 kB / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.2963, allocations: 0.5603 MB / 0.7889 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.2967, allocations: 215.1 kB / 0.7892 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.2972, allocations: 199.6 kB / 0.7893 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.2977, allocations: 0.5414 MB / 0.7899 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007505/0.2985, allocations: 0.5136 MB / 0.7904 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.2987, allocations: 231.3 kB / 0.7906 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.2991, allocations: 263 kB / 0.7908 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.121e-05/0.2992, allocations: 36 kB / 0.7909 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.2995, allocations: 171.7 kB / 0.791 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.2996, allocations: 143.7 kB / 0.7912 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.2998, allocations: 199 kB / 0.7914 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.3004, allocations: 0.5257 MB / 0.7919 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3004, allocations: 0 / 0.7919 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3004, allocations: 0 / 0.7919 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3004, allocations: 0 / 0.7919 GB, free: 4.652 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.001292/0.3017, allocations: 0.6865 MB / 0.7926 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.3018, allocations: 8.031 kB / 0.7926 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007165/0.3025, allocations: 104.5 kB / 0.7927 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.3029, allocations: 295.6 kB / 0.7929 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.981e-05/0.303, allocations: 55.25 kB / 0.793 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.3031, allocations: 36.38 kB / 0.793 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009187/0.304, allocations: 0.5087 MB / 0.7935 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.3041, allocations: 3.938 kB / 0.7935 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.3041, allocations: 12 kB / 0.7935 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/0.3042, allocations: 32.98 kB / 0.7936 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007017/0.3049, allocations: 379.7 kB / 0.7939 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.3075, allocations: 2.212 MB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006881/0.3082, allocations: 266.6 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.3086, allocations: 156.8 kB / 0.7965 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.3087, allocations: 0 / 0.7965 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3087, allocations: 38.5 kB / 0.7965 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 1.062e-06/0.3087, allocations: 0 / 0.7965 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001516/0.3102, allocations: 0.5659 MB / 0.7971 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.3103, allocations: 55.41 kB / 0.7971 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.3105, allocations: 233 kB / 0.7974 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.3105, allocations: 29.7 kB / 0.7974 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.3107, allocations: 215.6 kB / 0.7976 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.3107, allocations: 63.09 kB / 0.7977 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3108, allocations: 57.61 kB / 0.7977 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.311, allocations: 330.8 kB / 0.798 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.3112, allocations: 92.8 kB / 0.7981 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.3115, allocations: 183 kB / 0.7983 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.312, allocations: 272 kB / 0.7986 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.312, allocations: 0 / 0.7986 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008388/0.3129, allocations: 378.8 kB / 0.7989 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3129, allocations: 4 kB / 0.7989 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3129, allocations: 4 kB / 0.7989 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/0.3135, allocations: 109.7 kB / 0.799 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.3137, allocations: 55.91 kB / 0.7991 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.3173, allocations: 3.051 MB / 0.8021 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.3175, allocations: 35.67 kB / 0.8021 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.3176, allocations: 12 kB / 0.8021 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003151/0.3179, allocations: 216.7 kB / 0.8023 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002624/0.3182, allocations: 192.6 kB / 0.8025 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004439/0.3186, allocations: 272 kB / 0.8028 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.3186, allocations: 0 / 0.8028 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007246/0.3194, allocations: 346.1 kB / 0.8031 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3194, allocations: 11.94 kB / 0.8031 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.3194, allocations: 0 / 0.8031 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.3197, allocations: 84.91 kB / 0.8032 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.3199, allocations: 51.91 kB / 0.8032 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.3219, allocations: 1.624 MB / 0.8048 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.3221, allocations: 31.73 kB / 0.8048 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.3222, allocations: 11.94 kB / 0.8049 GB, free: 6.297 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.0001448/0.3223, allocations: 192.3 kB / 0.805 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.3224, allocations: 23.75 kB / 0.8051 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.3224, allocations: 30.17 kB / 0.8051 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3224, allocations: 4 kB / 0.8051 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3225, allocations: 4 kB / 0.8051 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3225, allocations: 3.938 kB / 0.8051 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.3238, allocations: 0.8248 MB / 0.8059 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3239, allocations: 4 kB / 0.8059 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.324, allocations: 36.03 kB / 0.8059 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/0.3244, allocations: 97.62 kB / 0.806 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.3244, allocations: 8 kB / 0.806 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003183/0.3276, allocations: 3.02 MB / 0.809 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3276, allocations: 4.031 kB / 0.809 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/0.3284, allocations: 410.5 kB / 0.8094 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.3286, allocations: 120.8 kB / 0.8095 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.3286, allocations: 4 kB / 0.8095 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.3288, allocations: 19.92 kB / 0.8095 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3289, allocations: 23.89 kB / 0.8095 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3289, allocations: 15.86 kB / 0.8096 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001467/0.3291, allocations: 160.5 kB / 0.8097 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3291, allocations: 0 / 0.8097 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006012/0.3297, allocations: 167.4 kB / 0.8099 GB, free: 0.7344 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 (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.0001283/0.3298, allocations: 103.2 kB / 0.81 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002124/0.3319, allocations: 0.7805 MB / 0.8107 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.332, allocations: 0 / 0.8107 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008752/0.3328, allocations: 365.8 kB / 0.8111 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.3334, allocations: 67.41 kB / 0.8112 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.3348, allocations: 0.7183 MB / 0.8119 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.3354, allocations: 0.8146 MB / 0.8126 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.3356, allocations: 58.23 kB / 0.8127 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.3357, allocations: 27.44 kB / 0.8127 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.3357, allocations: 3.938 kB / 0.8127 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of Templates: time 0.01018/0.3459, allocations: 4.544 MB / 0.8172 GB, free: 9.172 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)