Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 176.2 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.4 MB / 0.5783 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007944/0.0007943, allocations: 84.3 kB / 0.6829 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 8.5 kB / 0.797 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2144, allocations: 106.3 MB / 0.9008 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003684/0.2181, allocations: 3.573 MB / 0.9043 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.22, allocations: 1.509 MB / 0.9058 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.2202, allocations: 7.938 kB / 0.9058 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.2205, allocations: 67.5 kB / 0.9059 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.2209, allocations: 175.1 kB / 0.906 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.2213, allocations: 174.4 kB / 0.9062 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.2219, allocations: 0.627 MB / 0.9068 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.2222, allocations: 385.7 kB / 0.9072 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.2224, allocations: 175.4 kB / 0.9073 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.2228, allocations: 239.2 kB / 0.9076 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.2228, allocations: 16 kB / 0.9076 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.223, allocations: 75.89 kB / 0.9077 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.2231, allocations: 131.6 kB / 0.9078 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.2232, allocations: 89.52 kB / 0.9079 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.2235, allocations: 395.3 kB / 0.9082 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2235, allocations: 0 / 0.9082 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2235, allocations: 0 / 0.9082 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2235, allocations: 0 / 0.9082 GB, free: 56.78 MB / 0.6042 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.000955/0.2245, allocations: 0.6279 MB / 0.9089 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2245, allocations: 19.97 kB / 0.9089 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006578/0.2252, allocations: 107.4 kB / 0.909 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.2256, allocations: 294.4 kB / 0.9093 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.2256, allocations: 50.7 kB / 0.9093 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.2257, allocations: 35.98 kB / 0.9093 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.2264, allocations: 0.5046 MB / 0.9098 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.2264, allocations: 4 kB / 0.9098 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.2265, allocations: 8 kB / 0.9098 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/0.2265, allocations: 36.97 kB / 0.9099 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006152/0.2271, allocations: 395.6 kB / 0.9103 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.2292, allocations: 2.216 MB / 0.9124 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006842/0.2299, allocations: 259.8 kB / 0.9127 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.2303, allocations: 168.7 kB / 0.9128 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.2303, allocations: 0 / 0.9128 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2304, allocations: 38.56 kB / 0.9129 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/0.2304, allocations: 0 / 0.9129 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.00142/0.2318, allocations: 0.5851 MB / 0.9134 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.2318, allocations: 59.41 kB / 0.9135 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.232, allocations: 229 kB / 0.9137 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.232, allocations: 25.7 kB / 0.9137 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.2321, allocations: 211.6 kB / 0.9139 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.2322, allocations: 63.09 kB / 0.914 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.2322, allocations: 8 kB / 0.914 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.2323, allocations: 330.8 kB / 0.9143 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.2325, allocations: 99.94 kB / 0.9144 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.2327, allocations: 175.1 kB / 0.9146 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.2329, allocations: 131.8 kB / 0.9147 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2329, allocations: 0 / 0.9147 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007816/0.2337, allocations: 384.4 kB / 0.9151 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.019e-05/0.2338, allocations: 165.7 kB / 0.9152 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2338, allocations: 0 / 0.9152 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004862/0.2343, allocations: 113.6 kB / 0.9153 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.2345, allocations: 51.91 kB / 0.9154 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.2369, allocations: 2.825 MB / 0.9182 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.2371, allocations: 35.73 kB / 0.9182 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.2372, allocations: 8 kB / 0.9182 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/0.2372, allocations: 4 kB / 0.9182 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006973/0.2379, allocations: 314.4 kB / 0.9185 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2379, allocations: 12.05 kB / 0.9185 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/0.2382, allocations: 72.8 kB / 0.9186 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.2384, allocations: 59.91 kB / 0.9186 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.2398, allocations: 1.503 MB / 0.9201 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.2401, allocations: 35.84 kB / 0.9201 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.2401, allocations: 12 kB / 0.9202 GB, free: 43.61 MB / 0.6042 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.0001944/0.2403, allocations: 245.6 kB / 0.9204 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.2403, allocations: 23.7 kB / 0.9204 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.2404, allocations: 30.19 kB / 0.9204 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2404, allocations: 0 / 0.9204 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2404, allocations: 0 / 0.9204 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2404, allocations: 11.94 kB / 0.9204 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.2416, allocations: 0.8443 MB / 0.9213 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2416, allocations: 4 kB / 0.9213 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.2418, allocations: 31.97 kB / 0.9213 GB, free: 42.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003454/0.2421, allocations: 101.7 kB / 0.9214 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.2421, allocations: 4 kB / 0.9214 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.2442, allocations: 2.807 MB / 0.9241 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2442, allocations: 0 / 0.9241 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/0.2449, allocations: 426.5 kB / 0.9246 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2451, allocations: 112.8 kB / 0.9247 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.2451, allocations: 11.95 kB / 0.9247 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.2453, allocations: 23.92 kB / 0.9247 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.2453, allocations: 23.91 kB / 0.9247 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2454, allocations: 4 kB / 0.9247 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001121/0.2455, allocations: 160.5 kB / 0.9249 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2455, allocations: 0 / 0.9249 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006293/0.2461, allocations: 171.4 kB / 0.925 GB, free: 38.2 MB / 0.6042 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.0001086/0.2462, allocations: 103.2 kB / 0.9251 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001591/0.2478, allocations: 0.7641 MB / 0.9259 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2479, allocations: 0 / 0.9259 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006247/0.2485, allocations: 383.9 kB / 0.9263 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.2489, allocations: 47.69 kB / 0.9263 GB, free: 36.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008911/0.2498, allocations: 0.7421 MB / 0.927 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.25, allocations: 0.8107 MB / 0.9278 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.2501, allocations: 23.42 kB / 0.9278 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2501, allocations: 0 / 0.9278 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.006383/0.2565, allocations: 6.132 MB / 0.9338 GB, free: 29.09 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)