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.00109/0.00109, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001146/0.001146, allocations: 191 kB / 16.91 MB, free: 6.184 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.568/1.568, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.697/1.697, allocations: 292.3 MB / 0.5492 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.001392/0.001392, allocations: 70.12 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2207, allocations: 114.6 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005618/0.2264, allocations: 4.1 MB / 0.7875 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002529/0.2289, allocations: 1.583 MB / 0.7891 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.2292, allocations: 8 kB / 0.7891 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.2307, allocations: 0.5602 MB / 0.7896 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.2312, allocations: 219 kB / 0.7898 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.2317, allocations: 191.7 kB / 0.79 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005959/0.2323, allocations: 0.5452 MB / 0.7905 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007342/0.233, allocations: 0.5098 MB / 0.791 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.2333, allocations: 231.3 kB / 0.7913 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003879/0.2337, allocations: 259 kB / 0.7915 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.2338, allocations: 36 kB / 0.7915 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.2341, allocations: 167.7 kB / 0.7917 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.2342, allocations: 151.7 kB / 0.7918 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.2344, allocations: 195 kB / 0.792 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.2348, allocations: 419.1 kB / 0.7924 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2349, allocations: 0 / 0.7924 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2349, allocations: 0 / 0.7924 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.2349, allocations: 4 kB / 0.7924 GB, free: 4.75 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.001483/0.2364, allocations: 0.6786 MB / 0.7931 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.2364, allocations: 12.03 kB / 0.7931 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/0.2373, allocations: 104.5 kB / 0.7932 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.2378, allocations: 295.6 kB / 0.7935 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/0.2379, allocations: 59.25 kB / 0.7936 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.2379, allocations: 32.38 kB / 0.7936 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008666/0.2388, allocations: 0.5048 MB / 0.7941 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2388, allocations: 0 / 0.7941 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.2389, allocations: 15.98 kB / 0.7941 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.2389, allocations: 32.98 kB / 0.7941 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.2396, allocations: 387.6 kB / 0.7945 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.2421, allocations: 2.22 MB / 0.7967 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/0.2428, allocations: 254.6 kB / 0.7969 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.2431, allocations: 152.8 kB / 0.797 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.2432, allocations: 4 kB / 0.7971 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.2432, allocations: 30.56 kB / 0.7971 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 1.733e-06/0.2432, allocations: 0 / 0.7971 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.00153/0.2448, allocations: 0.579 MB / 0.7976 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.2448, allocations: 51.41 kB / 0.7977 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.2451, allocations: 229 kB / 0.7979 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.2451, allocations: 33.7 kB / 0.7979 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.2452, allocations: 203.6 kB / 0.7981 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.2453, allocations: 67.09 kB / 0.7982 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.2454, allocations: 57.61 kB / 0.7983 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2455, allocations: 334.8 kB / 0.7986 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.2458, allocations: 92.8 kB / 0.7987 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.246, allocations: 179 kB / 0.7988 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.2465, allocations: 276 kB / 0.7991 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2465, allocations: 0 / 0.7991 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008686/0.2474, allocations: 370.7 kB / 0.7995 GB, free: 13 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2474, allocations: 8 kB / 0.7995 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.2475, allocations: 8.312 kB / 0.7995 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005277/0.248, allocations: 113.5 kB / 0.7996 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.2482, allocations: 47.92 kB / 0.7996 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.2515, allocations: 3.054 MB / 0.8026 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.2518, allocations: 35.83 kB / 0.8026 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.2519, allocations: 15.88 kB / 0.8027 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003572/0.2522, allocations: 220 kB / 0.8029 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002495/0.2525, allocations: 180.6 kB / 0.803 GB, free: 9 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004462/0.2529, allocations: 267.8 kB / 0.8033 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.253, allocations: 0 / 0.8033 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007617/0.2537, allocations: 349.9 kB / 0.8036 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2537, allocations: 7.938 kB / 0.8036 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2538, allocations: 4.312 kB / 0.8036 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003201/0.2541, allocations: 80.72 kB / 0.8037 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.2543, allocations: 63.91 kB / 0.8038 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.2565, allocations: 1.612 MB / 0.8053 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.2568, allocations: 31.73 kB / 0.8054 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.2569, allocations: 11.94 kB / 0.8054 GB, free: 6.406 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.0001821/0.257, allocations: 200.2 kB / 0.8056 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.2571, allocations: 15.81 kB / 0.8056 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.756e-05/0.2572, allocations: 30.19 kB / 0.8056 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2572, allocations: 4 kB / 0.8056 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2572, allocations: 0 / 0.8056 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.2572, allocations: 11.92 kB / 0.8056 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.2586, allocations: 0.8287 MB / 0.8065 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2587, allocations: 0 / 0.8065 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.2588, allocations: 27.98 kB / 0.8065 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003889/0.2592, allocations: 105.8 kB / 0.8066 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.2592, allocations: 3.938 kB / 0.8066 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002927/0.2622, allocations: 3.031 MB / 0.8095 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2622, allocations: 0 / 0.8095 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008018/0.263, allocations: 421.8 kB / 0.8099 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.2631, allocations: 120.8 kB / 0.8101 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.2632, allocations: 4 kB / 0.8101 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.2634, allocations: 11.98 kB / 0.8101 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.843e-05/0.2634, allocations: 27.81 kB / 0.8101 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2635, allocations: 8 kB / 0.8101 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001551/0.2636, allocations: 164.5 kB / 0.8103 GB, free: 1 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.393e-06/0.2636, allocations: 0 / 0.8103 GB, free: 1 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006583/0.2643, allocations: 171.3 kB / 0.8104 GB, free: 0.832 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.0001286/0.2644, allocations: 103.2 kB / 0.8105 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001918/0.2664, allocations: 0.774 MB / 0.8113 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2664, allocations: 4.062 kB / 0.8113 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007852/0.2672, allocations: 369.2 kB / 0.8116 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.2676, allocations: 64.44 kB / 0.8117 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.2687, allocations: 0.7606 MB / 0.8124 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.2691, allocations: 0.8107 MB / 0.8132 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.2692, allocations: 23.44 kB / 0.8133 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.2692, allocations: 0 / 0.8133 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.007886/0.2771, allocations: 6.159 MB / 0.8193 GB, free: 7.652 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)