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.0015/0.0015, allocations: 108 kB / 15.61 MB, free: 148 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.001436/0.001436, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.637/1.637, allocations: 205.1 MB / 222.4 MB, free: 4.539 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.843/1.843, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001463/0.001463, allocations: 66.25 kB / 0.6715 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2452, allocations: 114.6 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.00601/0.2513, allocations: 4.06 MB / 0.7873 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002534/0.2538, allocations: 1.598 MB / 0.7889 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.254, allocations: 8 kB / 0.7889 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.2556, allocations: 0.5786 MB / 0.7895 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.2561, allocations: 238.8 kB / 0.7897 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.2566, allocations: 207.6 kB / 0.7899 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.2572, allocations: 0.5414 MB / 0.7904 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006808/0.2579, allocations: 478 kB / 0.7909 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.2582, allocations: 223.3 kB / 0.7911 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.2586, allocations: 259 kB / 0.7913 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.866e-05/0.2587, allocations: 36 kB / 0.7914 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.259, allocations: 171.7 kB / 0.7915 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.2591, allocations: 143.7 kB / 0.7917 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.2593, allocations: 203 kB / 0.7919 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005573/0.2599, allocations: 0.514 MB / 0.7924 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2599, allocations: 0 / 0.7924 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2599, allocations: 0 / 0.7924 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.2599, allocations: 0 / 0.7924 GB, free: 4.211 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.001218/0.2612, allocations: 0.6787 MB / 0.793 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2612, allocations: 12.03 kB / 0.793 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00072/0.2619, allocations: 104.4 kB / 0.7931 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.2623, allocations: 299.6 kB / 0.7934 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.398e-05/0.2624, allocations: 59.27 kB / 0.7935 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.2625, allocations: 36.38 kB / 0.7935 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008311/0.2633, allocations: 0.497 MB / 0.794 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2634, allocations: 7.875 kB / 0.794 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.516e-05/0.2634, allocations: 16 kB / 0.794 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.051e-05/0.2635, allocations: 28.98 kB / 0.794 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.2642, allocations: 383.7 kB / 0.7944 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.2666, allocations: 2.216 MB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.2673, allocations: 270.7 kB / 0.7968 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.2677, allocations: 148.8 kB / 0.797 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.2677, allocations: 4 kB / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.2678, allocations: 38.5 kB / 0.797 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.2678, allocations: 0 / 0.797 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001507/0.2693, allocations: 0.5737 MB / 0.7976 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.2693, allocations: 51.41 kB / 0.7976 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.2696, allocations: 229 kB / 0.7978 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.2696, allocations: 37.7 kB / 0.7979 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.2698, allocations: 207.6 kB / 0.7981 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.2698, allocations: 59.11 kB / 0.7981 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.049e-05/0.2699, allocations: 57.61 kB / 0.7982 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.27, allocations: 330.8 kB / 0.7985 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.2703, allocations: 96.8 kB / 0.7986 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.2706, allocations: 179.1 kB / 0.7988 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.271, allocations: 279.9 kB / 0.799 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.271, allocations: 0 / 0.799 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008462/0.2719, allocations: 374.9 kB / 0.7994 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2719, allocations: 8 kB / 0.7994 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.2719, allocations: 4 kB / 0.7994 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005772/0.2725, allocations: 109.7 kB / 0.7995 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.2727, allocations: 55.86 kB / 0.7996 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/0.2762, allocations: 3.05 MB / 0.8025 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.2764, allocations: 35.73 kB / 0.8026 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.2765, allocations: 12 kB / 0.8026 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003524/0.2768, allocations: 224.7 kB / 0.8028 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002669/0.2771, allocations: 179.1 kB / 0.803 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004479/0.2776, allocations: 272 kB / 0.8032 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.2776, allocations: 0 / 0.8032 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.000784/0.2784, allocations: 346.1 kB / 0.8036 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2784, allocations: 14.44 kB / 0.8036 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2784, allocations: 4 kB / 0.8036 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000289/0.2787, allocations: 76.91 kB / 0.8037 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.2789, allocations: 55.91 kB / 0.8037 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.2809, allocations: 1.605 MB / 0.8053 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.2812, allocations: 31.73 kB / 0.8053 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.2812, allocations: 19.92 kB / 0.8053 GB, free: 5.859 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.0001346/0.2814, allocations: 202.8 kB / 0.8055 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.2814, allocations: 23.73 kB / 0.8055 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.2815, allocations: 26.19 kB / 0.8056 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2815, allocations: 0 / 0.8056 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2815, allocations: 3.984 kB / 0.8056 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2815, allocations: 3.938 kB / 0.8056 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.2829, allocations: 0.8287 MB / 0.8064 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.283, allocations: 0 / 0.8064 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.2831, allocations: 39.98 kB / 0.8064 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/0.2836, allocations: 101.6 kB / 0.8065 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.2836, allocations: 0 / 0.8065 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003062/0.2867, allocations: 3.035 MB / 0.8095 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2867, allocations: 0 / 0.8095 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007562/0.2874, allocations: 418.4 kB / 0.8099 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.2875, allocations: 112.8 kB / 0.81 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.2876, allocations: 8 kB / 0.81 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.2878, allocations: 7.984 kB / 0.81 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.2878, allocations: 27.88 kB / 0.81 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2879, allocations: 11.94 kB / 0.81 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001883/0.2881, allocations: 164.5 kB / 0.8102 GB, free: 464 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2881, allocations: 0 / 0.8102 GB, free: 464 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006261/0.2887, allocations: 167.4 kB / 0.8104 GB, free: 296 kB / 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.0001242/0.2888, allocations: 107.2 kB / 0.8105 GB, free: 180 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.2908, allocations: 0.7766 MB / 0.8112 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2908, allocations: 0 / 0.8112 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000788/0.2916, allocations: 373.8 kB / 0.8116 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.2921, allocations: 58.61 kB / 0.8116 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2932, allocations: 0.5859 MB / 0.8122 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.2936, allocations: 0.8145 MB / 0.813 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00019/0.2938, allocations: 54.19 kB / 0.813 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.2939, allocations: 23.44 kB / 0.8131 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.2939, allocations: 3.938 kB / 0.8131 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of Templates: time 0.009144/0.303, allocations: 4.659 MB / 0.8176 GB, free: 8.758 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)