Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 114.1 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 191.9 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.857/1.857, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2175, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.3153/0.5328, allocations: 4.07 MB / 0.7888 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002538/0.5354, allocations: 1.584 MB / 0.7903 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003047/0.5357, allocations: 9.562 kB / 0.7903 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.5374, allocations: 0.5917 MB / 0.7909 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006072/0.538, allocations: 233.7 kB / 0.7911 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.5386, allocations: 214.5 kB / 0.7913 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006255/0.5392, allocations: 0.5397 MB / 0.7918 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006865/0.5399, allocations: 471.5 kB / 0.7923 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003388/0.5403, allocations: 230.2 kB / 0.7925 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004873/0.5407, allocations: 258.9 kB / 0.7928 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.949e-05/0.5408, allocations: 35.44 kB / 0.7928 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.5412, allocations: 169.1 kB / 0.793 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.5413, allocations: 146.2 kB / 0.7931 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.5415, allocations: 199 kB / 0.7933 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.5421, allocations: 0.5236 MB / 0.7938 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5421, allocations: 0 / 0.7938 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5421, allocations: 0.8125 kB / 0.7938 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.5421, allocations: 0 / 0.7938 GB, free: 46.04 MB / 0.6544 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.001028/0.5432, allocations: 0.6855 MB / 0.7945 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.5432, allocations: 6.781 kB / 0.7945 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006728/0.5439, allocations: 106.2 kB / 0.7946 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.5442, allocations: 306.3 kB / 0.7949 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.5443, allocations: 55.08 kB / 0.7949 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.5443, allocations: 37.45 kB / 0.795 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006774/0.545, allocations: 0.5002 MB / 0.7954 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.545, allocations: 0.6562 kB / 0.7954 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.5451, allocations: 22.58 kB / 0.7955 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/0.5451, allocations: 32 kB / 0.7955 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006016/0.5457, allocations: 377.7 kB / 0.7959 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.5477, allocations: 2.209 MB / 0.798 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.5483, allocations: 259.9 kB / 0.7983 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.5487, allocations: 147.6 kB / 0.7984 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.5487, allocations: 2.906 kB / 0.7984 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.5487, allocations: 37.69 kB / 0.7984 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.5487, allocations: 4 kB / 0.7984 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001395/0.5501, allocations: 0.5649 MB / 0.799 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.5502, allocations: 57.91 kB / 0.7991 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.5504, allocations: 224 kB / 0.7993 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.5504, allocations: 25.7 kB / 0.7993 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.5505, allocations: 207.2 kB / 0.7995 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.5505, allocations: 80.56 kB / 0.7996 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.5506, allocations: 53.64 kB / 0.7996 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.82e-05/0.5507, allocations: 332.1 kB / 0.7999 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.5509, allocations: 97.06 kB / 0.8 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.5511, allocations: 183 kB / 0.8002 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.5516, allocations: 271.7 kB / 0.8005 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5516, allocations: 1.188 kB / 0.8005 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008531/0.5524, allocations: 374.4 kB / 0.8008 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.5525, allocations: 10.34 kB / 0.8008 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.5525, allocations: 2.781 kB / 0.8008 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005074/0.553, allocations: 113.3 kB / 0.8009 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.5532, allocations: 47.45 kB / 0.801 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002733/0.556, allocations: 3.049 MB / 0.804 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.5563, allocations: 34.69 kB / 0.804 GB, free: 39.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.5563, allocations: 13.14 kB / 0.804 GB, free: 39.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003298/0.5566, allocations: 220.4 kB / 0.8042 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002457/0.5569, allocations: 181.9 kB / 0.8044 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004229/0.5573, allocations: 274.3 kB / 0.8047 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.5573, allocations: 0 / 0.8047 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007867/0.5581, allocations: 347.3 kB / 0.805 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.5581, allocations: 10.38 kB / 0.805 GB, free: 38.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5582, allocations: 8.438 kB / 0.805 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/0.5585, allocations: 80.86 kB / 0.8051 GB, free: 38.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.5587, allocations: 51.7 kB / 0.8051 GB, free: 38.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.5605, allocations: 1.618 MB / 0.8067 GB, free: 37.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.5608, allocations: 27.83 kB / 0.8067 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.5608, allocations: 12.78 kB / 0.8067 GB, free: 37.03 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.561, allocations: 202.4 kB / 0.8069 GB, free: 36.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.561, allocations: 23.34 kB / 0.807 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.564e-05/0.5611, allocations: 29.66 kB / 0.807 GB, free: 36.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5611, allocations: 5.422 kB / 0.807 GB, free: 36.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5611, allocations: 0 / 0.807 GB, free: 36.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5611, allocations: 4.641 kB / 0.807 GB, free: 36.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.5626, allocations: 0.8255 MB / 0.8078 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5626, allocations: 1.344 kB / 0.8078 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.5628, allocations: 32.42 kB / 0.8078 GB, free: 36.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004128/0.5632, allocations: 108.4 kB / 0.8079 GB, free: 36.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.5632, allocations: 2.531 kB / 0.8079 GB, free: 36.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/0.5658, allocations: 3.029 MB / 0.8109 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5658, allocations: 1.469 kB / 0.8109 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008508/0.5667, allocations: 418.8 kB / 0.8113 GB, free: 33.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.5668, allocations: 124.4 kB / 0.8114 GB, free: 32.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.5668, allocations: 2.625 kB / 0.8114 GB, free: 32.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.567, allocations: 12.98 kB / 0.8114 GB, free: 32.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.5671, allocations: 19.14 kB / 0.8115 GB, free: 32.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.5672, allocations: 3.969 kB / 0.8115 GB, free: 32.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001862/0.5673, allocations: 163.5 kB / 0.8116 GB, free: 32.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5673, allocations: 0 / 0.8116 GB, free: 32.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007924/0.5681, allocations: 170.6 kB / 0.8118 GB, free: 32.81 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001408/0.5683, allocations: 107.8 kB / 0.8119 GB, free: 32.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.5704, allocations: 0.7744 MB / 0.8126 GB, free: 32.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5704, allocations: 1.062 kB / 0.8126 GB, free: 32.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.5712, allocations: 366.1 kB / 0.813 GB, free: 32.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.5717, allocations: 65.56 kB / 0.813 GB, free: 31.99 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.5727, allocations: 0.6194 MB / 0.8137 GB, free: 31.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.573, allocations: 0.8062 MB / 0.8144 GB, free: 30.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.573, allocations: 27.94 kB / 0.8145 GB, free: 30.89 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.573, allocations: 2.562 kB / 0.8145 GB, free: 30.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.009357/0.5824, allocations: 6.16 MB / 0.8205 GB, free: 30.53 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)