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.792/1.792, allocations: 288.3 MB / 303.2 MB, free: 8.168 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.001537/0.001537, allocations: 185 kB / 371.8 MB, free: 10.27 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.712/1.712, allocations: 205.4 MB / 0.6306 GB, free: 9.98 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.0008498/0.0008498, allocations: 102.8 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 11.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2379, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003532/0.2415, allocations: 3.488 MB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.2435, allocations: 1.49 MB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.2437, allocations: 12 kB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.2439, allocations: 63.59 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.2443, allocations: 155.4 kB / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.2448, allocations: 159.7 kB / 0.9847 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.2451, allocations: 307.3 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.2454, allocations: 391 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.2456, allocations: 155.5 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.2458, allocations: 171.3 kB / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.2459, allocations: 20 kB / 0.9856 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.2461, allocations: 67.95 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.355e-05/0.2462, allocations: 115.7 kB / 0.9858 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.2462, allocations: 93.45 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.2466, allocations: 391.3 kB / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2466, allocations: 0 / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2466, allocations: 0 / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.2466, allocations: 4 kB / 0.9863 GB, free: 20.6 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.0009826/0.2476, allocations: 0.624 MB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2476, allocations: 8.031 kB / 0.9869 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006799/0.2483, allocations: 119.4 kB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.2487, allocations: 294.4 kB / 0.9873 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.2488, allocations: 54.7 kB / 0.9874 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.2488, allocations: 35.98 kB / 0.9874 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.2495, allocations: 0.5046 MB / 0.9879 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2495, allocations: 0 / 0.9879 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.2496, allocations: 15.98 kB / 0.9879 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.2496, allocations: 40.97 kB / 0.9879 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005842/0.2502, allocations: 379.7 kB / 0.9883 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.2522, allocations: 2.235 MB / 0.9905 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006866/0.2529, allocations: 278.6 kB / 0.9907 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.2529, allocations: 4 kB / 0.9907 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.253, allocations: 30.56 kB / 0.9908 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.714e-06/0.253, allocations: 0 / 0.9908 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001403/0.2544, allocations: 0.5963 MB / 0.9914 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.2544, allocations: 55.36 kB / 0.9914 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.2546, allocations: 224.9 kB / 0.9916 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.2546, allocations: 33.7 kB / 0.9917 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.2547, allocations: 207.7 kB / 0.9919 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.2548, allocations: 74.94 kB / 0.9919 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.2548, allocations: 4 kB / 0.9919 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.2548, allocations: 330.8 kB / 0.9922 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.255, allocations: 95.94 kB / 0.9923 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.2553, allocations: 186.9 kB / 0.9925 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.2555, allocations: 124.9 kB / 0.9926 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2555, allocations: 0 / 0.9926 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007536/0.2563, allocations: 400.3 kB / 0.993 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.2565, allocations: 0.8847 MB / 0.9939 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2565, allocations: 4 kB / 0.9939 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004873/0.257, allocations: 101.6 kB / 0.994 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.2572, allocations: 55.91 kB / 0.994 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.2596, allocations: 2.853 MB / 0.9968 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.2599, allocations: 31.78 kB / 0.9969 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2599, allocations: 11.98 kB / 0.9969 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.2599, allocations: 4 kB / 0.9969 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006425/0.2606, allocations: 316.8 kB / 0.9972 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2606, allocations: 11.95 kB / 0.9972 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/0.2609, allocations: 76.78 kB / 0.9973 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.2611, allocations: 67.91 kB / 0.9973 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.2626, allocations: 1.503 MB / 0.9988 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.2628, allocations: 39.8 kB / 0.9988 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.2628, allocations: 12 kB / 0.9988 GB, free: 6.762 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0001874/0.263, allocations: 245 kB / 0.9991 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.2631, allocations: 23.77 kB / 0.9991 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.2631, allocations: 30.17 kB / 0.9991 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2631, allocations: 4 kB / 0.9991 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2631, allocations: 0 / 0.9991 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.2632, allocations: 7.984 kB / 0.9991 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.2635, allocations: 369.4 kB / 0.9995 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.2635, allocations: 4 kB / 0.9995 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.2637, allocations: 35.94 kB / 0.9995 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003342/0.264, allocations: 101.6 kB / 0.9996 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.264, allocations: 7.938 kB / 0.9996 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.266, allocations: 2.842 MB / 1.002 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2661, allocations: 3.938 kB / 1.002 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.2668, allocations: 418.6 kB / 1.003 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-05/0.2669, allocations: 112.8 kB / 1.003 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.2669, allocations: 0 / 1.003 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.2671, allocations: 15.98 kB / 1.003 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.2672, allocations: 19.97 kB / 1.003 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2672, allocations: 4 kB / 1.003 GB, free: 2.176 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001133/0.2673, allocations: 168.4 kB / 1.003 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.4e-07/0.2673, allocations: 0 / 1.003 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005859/0.2679, allocations: 171.4 kB / 1.003 GB, free: 1.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 14 * 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.000108/0.268, allocations: 99.25 kB / 1.003 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.2696, allocations: 0.7763 MB / 1.004 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2697, allocations: 0 / 1.004 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006726/0.2703, allocations: 376 kB / 1.004 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.2707, allocations: 48.59 kB / 1.005 GB, free: 496 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009714/0.2717, allocations: 0.6907 MB / 1.005 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.2721, allocations: 0.8152 MB / 1.006 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.2723, allocations: 58.23 kB / 1.006 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.2724, allocations: 23.44 kB / 1.006 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.2724, allocations: 0 / 1.006 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of Templates: time 0.007874/0.2802, allocations: 4.086 MB / 1.01 GB, free: 10.79 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)