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 2.608/2.608, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001618/0.001618, allocations: 184.1 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.324/2.324, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001669/0.001669, allocations: 98.09 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000647/0.0006473, allocations: 14.19 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2151, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005641/0.2208, allocations: 3.492 MB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003149/0.224, allocations: 1.482 MB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002995/0.2244, allocations: 7.938 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.2246, allocations: 63.61 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005976/0.2252, allocations: 151.5 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000739/0.226, allocations: 167.6 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000596/0.2266, allocations: 303.4 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005324/0.2272, allocations: 389.7 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.2275, allocations: 155.5 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.2279, allocations: 167.4 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/0.2279, allocations: 24 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.2283, allocations: 71.89 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.2284, allocations: 119.7 kB / 0.9846 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.311e-05/0.2285, allocations: 97.45 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005241/0.2291, allocations: 387.3 kB / 0.9851 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2291, allocations: 0 / 0.9851 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.956e-06/0.2291, allocations: 4 kB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.2291, allocations: 0 / 0.9851 GB, free: 21.27 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.001503/0.2306, allocations: 0.6162 MB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.2307, allocations: 16.02 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.2318, allocations: 119.4 kB / 0.9858 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.2324, allocations: 298.3 kB / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.773e-05/0.2325, allocations: 50.7 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.473e-05/0.2326, allocations: 36 kB / 0.9862 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.2338, allocations: 0.4969 MB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.2338, allocations: 3.938 kB / 0.9866 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.756e-05/0.2339, allocations: 15.98 kB / 0.9867 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.161e-05/0.234, allocations: 36.97 kB / 0.9867 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.2351, allocations: 391.6 kB / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.2386, allocations: 2.235 MB / 0.9893 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.2407, allocations: 267.7 kB / 0.9895 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.361e-05/0.2408, allocations: 8 kB / 0.9895 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.2409, allocations: 34.5 kB / 0.9895 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 4.509e-06/0.2409, allocations: 0 / 0.9895 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.003794/0.2447, allocations: 0.601 MB / 0.9901 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2448, allocations: 51.41 kB / 0.9902 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.2453, allocations: 224.9 kB / 0.9904 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.2453, allocations: 33.69 kB / 0.9904 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.2455, allocations: 207.7 kB / 0.9906 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.655e-05/0.2457, allocations: 70.94 kB / 0.9907 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.2457, allocations: 4 kB / 0.9907 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2458, allocations: 334.8 kB / 0.991 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/0.2464, allocations: 95.94 kB / 0.9911 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/0.2471, allocations: 186.9 kB / 0.9913 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.2478, allocations: 132.9 kB / 0.9914 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.2478, allocations: 0 / 0.9914 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002267/0.2501, allocations: 391 kB / 0.9918 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002924/0.2504, allocations: 0.8731 MB / 0.9926 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.2505, allocations: 4 kB / 0.9926 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.2517, allocations: 109.6 kB / 0.9928 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/0.2524, allocations: 55.91 kB / 0.9928 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00621/0.2587, allocations: 2.85 MB / 0.9956 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/0.2594, allocations: 31.77 kB / 0.9956 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.2595, allocations: 11.98 kB / 0.9956 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2595, allocations: 6.031 kB / 0.9956 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001883/0.2614, allocations: 323.6 kB / 0.9959 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.2615, allocations: 7.938 kB / 0.996 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007739/0.2623, allocations: 77 kB / 0.996 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/0.263, allocations: 59.91 kB / 0.9961 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/0.2673, allocations: 1.514 MB / 0.9976 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006177/0.2679, allocations: 35.67 kB / 0.9976 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.268, allocations: 12 kB / 0.9976 GB, free: 7.445 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.000394/0.2684, allocations: 249.1 kB / 0.9978 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.2685, allocations: 19.77 kB / 0.9979 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.2687, allocations: 34.17 kB / 0.9979 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.2687, allocations: 7.938 kB / 0.9979 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2687, allocations: 0 / 0.9979 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.2687, allocations: 4 kB / 0.9979 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008158/0.2696, allocations: 377.3 kB / 0.9983 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2696, allocations: 0 / 0.9983 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004931/0.2701, allocations: 35.98 kB / 0.9983 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009826/0.2711, allocations: 101.6 kB / 0.9984 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.2712, allocations: 0 / 0.9984 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005705/0.2769, allocations: 2.834 MB / 1.001 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.277, allocations: 0 / 1.001 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.2789, allocations: 410.6 kB / 1.002 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.2792, allocations: 120.7 kB / 1.002 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.2792, allocations: 4 kB / 1.002 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.2797, allocations: 15.98 kB / 1.002 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.2799, allocations: 23.92 kB / 1.002 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.2799, allocations: 8 kB / 1.002 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002797/0.2802, allocations: 164.5 kB / 1.002 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.92e-07/0.2803, allocations: 0 / 1.002 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001267/0.2815, allocations: 167.4 kB / 1.002 GB, free: 2.531 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.0001763/0.2818, allocations: 107.2 kB / 1.002 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004637/0.2864, allocations: 0.7737 MB / 1.003 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.2865, allocations: 0 / 1.003 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.2884, allocations: 376.7 kB / 1.003 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/0.2892, allocations: 52.8 kB / 1.003 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.2913, allocations: 0.6836 MB / 1.004 GB, free: 456 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006689/0.292, allocations: 0.8191 MB / 1.005 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006222/0.2927, allocations: 58.23 kB / 1.005 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.2928, allocations: 19.44 kB / 1.005 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of SimCode: time 1.553e-06/0.2929, allocations: 0 / 1.005 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of Templates: time 0.02078/0.3137, allocations: 4.094 MB / 1.009 GB, free: 11.46 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)