Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.765/1.765, allocations: 287.5 MB / 302.6 MB, free: 8.117 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.001108/0.001108, allocations: 179.1 kB / 371.2 MB, free: 10.76 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.592/1.592, allocations: 205.4 MB / 0.6298 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008278/0.0008278, allocations: 86.34 kB / 0.7432 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003848, allocations: 12.55 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2221, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.00386/0.226, allocations: 3.565 MB / 0.9822 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003048/0.2291, allocations: 1.494 MB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.2295, allocations: 11.94 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.2298, allocations: 67.48 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005682/0.2303, allocations: 183.1 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.231, allocations: 168.5 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008811/0.2319, allocations: 0.6192 MB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005471/0.2325, allocations: 442.4 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.2328, allocations: 183.4 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.2332, allocations: 231.2 kB / 0.9854 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.932e-05/0.2333, allocations: 20 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.2335, allocations: 83.83 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.2337, allocations: 131.6 kB / 0.9857 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.2338, allocations: 85.52 kB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.2341, allocations: 403.2 kB / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2342, allocations: 0 / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2342, allocations: 4 kB / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.2342, allocations: 0 / 0.9861 GB, free: 20.5 MB / 0.6198 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.001014/0.2352, allocations: 0.6164 MB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2352, allocations: 8.031 kB / 0.9868 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000631/0.2359, allocations: 108.4 kB / 0.9869 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.2362, allocations: 295.6 kB / 0.9871 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/0.2363, allocations: 59.25 kB / 0.9872 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.2364, allocations: 36.38 kB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.2371, allocations: 0.5048 MB / 0.9877 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2371, allocations: 0 / 0.9877 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.2372, allocations: 20 kB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/0.2372, allocations: 28.98 kB / 0.9878 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/0.2379, allocations: 391.6 kB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.2399, allocations: 2.231 MB / 0.9903 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.2406, allocations: 258.7 kB / 0.9906 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.2409, allocations: 160.8 kB / 0.9907 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.2409, allocations: 7.984 kB / 0.9907 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.2409, allocations: 38.55 kB / 0.9908 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.714e-06/0.241, allocations: 0 / 0.9908 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001342/0.2423, allocations: 0.5888 MB / 0.9913 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.2423, allocations: 59.28 kB / 0.9914 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.2425, allocations: 221 kB / 0.9916 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2425, allocations: 33.7 kB / 0.9916 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.2426, allocations: 203.7 kB / 0.9918 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.2427, allocations: 70.95 kB / 0.9919 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.2427, allocations: 4 kB / 0.9919 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.2428, allocations: 334.8 kB / 0.9922 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.243, allocations: 91.94 kB / 0.9923 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.2432, allocations: 191.5 kB / 0.9925 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.2436, allocations: 286.4 kB / 0.9928 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2436, allocations: 0 / 0.9928 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007364/0.2443, allocations: 390.2 kB / 0.9931 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.2444, allocations: 161.7 kB / 0.9933 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2444, allocations: 4 kB / 0.9933 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004616/0.2449, allocations: 109.6 kB / 0.9934 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.2451, allocations: 55.91 kB / 0.9935 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.2474, allocations: 2.822 MB / 0.9962 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.2476, allocations: 35.67 kB / 0.9962 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2477, allocations: 15.94 kB / 0.9963 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.991e-06/0.2477, allocations: 6.344 kB / 0.9963 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006129/0.2483, allocations: 316.8 kB / 0.9966 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.2483, allocations: 7.922 kB / 0.9966 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.2486, allocations: 80.84 kB / 0.9967 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.2488, allocations: 55.91 kB / 0.9967 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.2502, allocations: 1.507 MB / 0.9982 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.2504, allocations: 31.89 kB / 0.9982 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.2504, allocations: 8 kB / 0.9982 GB, free: 7.145 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.2506, allocations: 250.3 kB / 0.9985 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.2506, allocations: 23.72 kB / 0.9985 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.2507, allocations: 30.17 kB / 0.9985 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2507, allocations: 7.938 kB / 0.9985 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2507, allocations: 0 / 0.9985 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2507, allocations: 7.984 kB / 0.9985 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.2518, allocations: 0.8288 MB / 0.9993 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2518, allocations: 4.078 kB / 0.9993 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.2519, allocations: 31.97 kB / 0.9994 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/0.2522, allocations: 109.7 kB / 0.9995 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.2523, allocations: 4 kB / 0.9995 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.2542, allocations: 2.802 MB / 1.002 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2542, allocations: 144 / 1.002 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.2549, allocations: 426.5 kB / 1.003 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.2549, allocations: 120.8 kB / 1.003 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.255, allocations: 8 kB / 1.003 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.2551, allocations: 15.98 kB / 1.003 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.2552, allocations: 27.84 kB / 1.003 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.2552, allocations: 4 kB / 1.003 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.829e-05/0.2553, allocations: 160.5 kB / 1.003 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2553, allocations: 4 kB / 1.003 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000523/0.2559, allocations: 163.4 kB / 1.003 GB, free: 1.727 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 9.871e-05/0.256, allocations: 107.2 kB / 1.003 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.2575, allocations: 0.7605 MB / 1.004 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2575, allocations: 0 / 1.004 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.2581, allocations: 383.7 kB / 1.004 GB, free: 428 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.2585, allocations: 48.58 kB / 1.004 GB, free: 380 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000864/0.2594, allocations: 0.6932 MB / 1.005 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.2598, allocations: 0.8146 MB / 1.006 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001955/0.26, allocations: 54.25 kB / 1.006 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.26, allocations: 19.44 kB / 1.006 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of SimCode: time 2e-07/0.26, allocations: 7.938 kB / 1.006 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of Templates: time 0.007434/0.2675, allocations: 4.148 MB / 1.01 GB, free: 10.61 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)