Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.851/1.851, allocations: 288.4 MB / 303.4 MB, free: 8.152 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.0009588/0.0009589, allocations: 180.5 kB / 372 MB, free: 10.26 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.651/1.651, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.000862/0.0008618, allocations: 97.72 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.0004189, allocations: 10.16 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2452, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005572/0.2508, allocations: 3.566 MB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003138/0.254, allocations: 1.505 MB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004119/0.2545, allocations: 8 kB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.2549, allocations: 63.5 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008451/0.2558, allocations: 187.1 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007988/0.2566, allocations: 159.7 kB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009365/0.2576, allocations: 0.6231 MB / 0.9855 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006592/0.2582, allocations: 389.7 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004504/0.2587, allocations: 179.3 kB / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007134/0.2594, allocations: 243.2 kB / 0.9863 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.2596, allocations: 20 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003707/0.2599, allocations: 79.89 kB / 0.9864 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.2601, allocations: 127.7 kB / 0.9865 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.2603, allocations: 85.52 kB / 0.9866 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005595/0.2609, allocations: 403.2 kB / 0.987 GB, free: 20 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2609, allocations: 3.938 kB / 0.987 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2609, allocations: 0 / 0.987 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.684e-05/0.2609, allocations: 0 / 0.987 GB, free: 19.99 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.001595/0.2625, allocations: 0.6162 MB / 0.9876 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.2626, allocations: 12.03 kB / 0.9876 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.2637, allocations: 107.4 kB / 0.9877 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.2643, allocations: 294.4 kB / 0.988 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-05/0.2644, allocations: 54.64 kB / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.244e-05/0.2645, allocations: 39.98 kB / 0.9881 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.2657, allocations: 0.5008 MB / 0.9886 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.2658, allocations: 0 / 0.9886 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.2659, allocations: 15.94 kB / 0.9886 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/0.2659, allocations: 32.98 kB / 0.9886 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.267, allocations: 395.7 kB / 0.989 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.27, allocations: 2.224 MB / 0.9912 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009649/0.271, allocations: 266.6 kB / 0.9914 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/0.2715, allocations: 160.8 kB / 0.9916 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.2716, allocations: 4 kB / 0.9916 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.2716, allocations: 46.42 kB / 0.9916 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 2.464e-06/0.2716, allocations: 0 / 0.9916 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.002022/0.2737, allocations: 0.5858 MB / 0.9922 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.2737, allocations: 55.41 kB / 0.9923 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.274, allocations: 224.9 kB / 0.9925 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.274, allocations: 29.7 kB / 0.9925 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2742, allocations: 211.7 kB / 0.9927 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/0.2742, allocations: 66.95 kB / 0.9928 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.2743, allocations: 7.938 kB / 0.9928 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.715e-05/0.2743, allocations: 334.8 kB / 0.9931 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.2746, allocations: 95.94 kB / 0.9932 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.275, allocations: 187.6 kB / 0.9934 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.2754, allocations: 111.9 kB / 0.9935 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2754, allocations: 0 / 0.9935 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00118/0.2766, allocations: 392.1 kB / 0.9938 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.986e-05/0.2767, allocations: 157.7 kB / 0.994 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.2767, allocations: 8 kB / 0.994 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006858/0.2774, allocations: 109.6 kB / 0.9941 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.2777, allocations: 47.92 kB / 0.9941 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003501/0.2813, allocations: 2.828 MB / 0.9969 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.2817, allocations: 35.77 kB / 0.9969 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.2817, allocations: 15.94 kB / 0.997 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.2817, allocations: 4 kB / 0.997 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.2827, allocations: 307.1 kB / 0.9973 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2828, allocations: 4.312 kB / 0.9973 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003839/0.2832, allocations: 80.78 kB / 0.9973 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.2835, allocations: 59.91 kB / 0.9974 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.2857, allocations: 1.496 MB / 0.9989 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.286, allocations: 35.8 kB / 0.9989 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.2861, allocations: 15.95 kB / 0.9989 GB, free: 6.844 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.0002884/0.2864, allocations: 249 kB / 0.9991 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.2864, allocations: 19.81 kB / 0.9992 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.384e-05/0.2865, allocations: 30.17 kB / 0.9992 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.2865, allocations: 4 kB / 0.9992 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2866, allocations: 0 / 0.9992 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.2866, allocations: 0 / 0.9992 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.2883, allocations: 0.8443 MB / 1 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.2883, allocations: 4 kB / 1 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.2885, allocations: 31.98 kB / 1 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/0.289, allocations: 105.6 kB / 1 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.289, allocations: 8 kB / 1 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/0.2918, allocations: 2.799 MB / 1.003 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2918, allocations: 0 / 1.003 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009576/0.2928, allocations: 426.5 kB / 1.003 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.2929, allocations: 120.8 kB / 1.003 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.293, allocations: 0 / 1.003 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.2932, allocations: 23.94 kB / 1.003 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.2934, allocations: 19.97 kB / 1.003 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.2934, allocations: 4 kB / 1.003 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001713/0.2936, allocations: 164.5 kB / 1.004 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3e-07/0.2936, allocations: 0 / 1.004 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009245/0.2945, allocations: 167.3 kB / 1.004 GB, free: 1.438 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 0.0001401/0.2947, allocations: 103.2 kB / 1.004 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00247/0.2971, allocations: 0.7694 MB / 1.005 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2972, allocations: 0 / 1.005 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009856/0.2982, allocations: 373.8 kB / 1.005 GB, free: 136 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.2988, allocations: 58.3 kB / 1.005 GB, free: 80 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.3007, allocations: 0.7024 MB / 1.006 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.3014, allocations: 0.8184 MB / 1.007 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003601/0.3017, allocations: 58.22 kB / 1.007 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.929e-05/0.3018, allocations: 19.44 kB / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/0.3018, allocations: 0 / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of Templates: time 0.01309/0.3149, allocations: 4.148 MB / 1.011 GB, free: 10.3 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)