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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000797/0.0008022, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008986/0.0008987, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.703/1.703, allocations: 252 MB / 0.5102 GB, free: 4.793 MB / 414.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.0005365/0.0005367, allocations: 16 kB / 0.6243 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5949/0.5955, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004997/0.6005, allocations: 3.581 MB / 0.7316 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002515/0.6031, allocations: 1.497 MB / 0.7331 GB, free: 6.305 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.6033, allocations: 8 kB / 0.7331 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.6035, allocations: 67.48 kB / 0.7332 GB, free: 6.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004938/0.604, allocations: 183.1 kB / 0.7333 GB, free: 6.051 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.6045, allocations: 167.7 kB / 0.7335 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005843/0.6051, allocations: 0.6152 MB / 0.7341 GB, free: 5.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004733/0.6056, allocations: 401.7 kB / 0.7345 GB, free: 4.848 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.6059, allocations: 179.3 kB / 0.7347 GB, free: 4.672 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.6063, allocations: 235.2 kB / 0.7349 GB, free: 4.441 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.6064, allocations: 20 kB / 0.7349 GB, free: 4.422 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.6066, allocations: 71.89 kB / 0.735 GB, free: 4.352 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.6067, allocations: 127.7 kB / 0.7351 GB, free: 4.227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.6068, allocations: 93.52 kB / 0.7352 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.6072, allocations: 404.9 kB / 0.7356 GB, free: 3.734 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.6072, allocations: 0 / 0.7356 GB, free: 3.734 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6072, allocations: 0 / 0.7356 GB, free: 3.734 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.6072, allocations: 0 / 0.7356 GB, free: 3.734 MB / 0.545 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.00119/0.6084, allocations: 0.624 MB / 0.7362 GB, free: 3.062 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.6085, allocations: 8.031 kB / 0.7362 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006965/0.6092, allocations: 115.4 kB / 0.7363 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.6096, allocations: 290.4 kB / 0.7366 GB, free: 2.617 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.89e-05/0.6097, allocations: 62.69 kB / 0.7366 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.6097, allocations: 31.98 kB / 0.7367 GB, free: 2.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/0.6106, allocations: 0.5008 MB / 0.7371 GB, free: 1.992 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.6106, allocations: 3.938 kB / 0.7371 GB, free: 1.988 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.6106, allocations: 16 kB / 0.7372 GB, free: 1.973 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.894e-05/0.6107, allocations: 32.98 kB / 0.7372 GB, free: 1.941 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007136/0.6114, allocations: 387.6 kB / 0.7376 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.6141, allocations: 2.212 MB / 0.7397 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.6148, allocations: 266.6 kB / 0.74 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.6152, allocations: 156.8 kB / 0.7401 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.6152, allocations: 4 kB / 0.7401 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.6152, allocations: 38.5 kB / 0.7402 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.6152, allocations: 0 / 0.7402 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001464/0.6167, allocations: 0.593 MB / 0.7407 GB, free: 14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.6168, allocations: 51.41 kB / 0.7408 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.617, allocations: 229 kB / 0.741 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.6171, allocations: 29.7 kB / 0.741 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.6172, allocations: 215.6 kB / 0.7412 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.748e-05/0.6173, allocations: 63.11 kB / 0.7413 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/0.6173, allocations: 4 kB / 0.7413 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.6175, allocations: 330.8 kB / 0.7416 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.6177, allocations: 91.94 kB / 0.7417 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.618, allocations: 184.6 kB / 0.7419 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.6183, allocations: 119.9 kB / 0.742 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6183, allocations: 4 kB / 0.742 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008031/0.6192, allocations: 389 kB / 0.7424 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.6193, allocations: 157.7 kB / 0.7425 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.6193, allocations: 4 kB / 0.7425 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004925/0.6198, allocations: 113.6 kB / 0.7426 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.62, allocations: 55.91 kB / 0.7427 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.6232, allocations: 2.822 MB / 0.7455 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.6235, allocations: 39.89 kB / 0.7455 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.6235, allocations: 8 kB / 0.7455 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.6235, allocations: 5.875 kB / 0.7455 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007855/0.6243, allocations: 312.6 kB / 0.7458 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.6243, allocations: 4 kB / 0.7458 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/0.6246, allocations: 76.91 kB / 0.7459 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.6248, allocations: 59.91 kB / 0.7459 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.6266, allocations: 1.503 MB / 0.7474 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.6268, allocations: 35.78 kB / 0.7474 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.6269, allocations: 8 kB / 0.7474 GB, free: 6.586 MB / 0.5606 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.0002759/0.6272, allocations: 245.6 kB / 0.7477 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.6272, allocations: 27.72 kB / 0.7477 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.577e-05/0.6273, allocations: 30.11 kB / 0.7477 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6273, allocations: 7.938 kB / 0.7477 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6273, allocations: 0 / 0.7477 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.6273, allocations: 3.953 kB / 0.7477 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.629, allocations: 0.8404 MB / 0.7486 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.629, allocations: 4 kB / 0.7486 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.6291, allocations: 43.98 kB / 0.7486 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000348/0.6295, allocations: 97.62 kB / 0.7487 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.6295, allocations: 7.984 kB / 0.7487 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/0.6323, allocations: 2.795 MB / 0.7514 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6323, allocations: 3.969 kB / 0.7514 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007638/0.6331, allocations: 433.1 kB / 0.7519 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.6332, allocations: 120.7 kB / 0.752 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.6333, allocations: 7.953 kB / 0.752 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.6335, allocations: 11.98 kB / 0.752 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.6335, allocations: 19.97 kB / 0.752 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.6336, allocations: 8 kB / 0.752 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000158/0.6337, allocations: 164.5 kB / 0.7522 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6337, allocations: 0 / 0.7522 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007042/0.6345, allocations: 167.4 kB / 0.7523 GB, free: 1.172 MB / 0.5606 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.0001371/0.6346, allocations: 103.2 kB / 0.7524 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.6364, allocations: 0.7722 MB / 0.7532 GB, free: 260 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6364, allocations: 0 / 0.7532 GB, free: 260 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006819/0.6371, allocations: 373.7 kB / 0.7535 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.6376, allocations: 56.58 kB / 0.7536 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.6387, allocations: 0.6998 MB / 0.7543 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.6391, allocations: 0.8146 MB / 0.7551 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002435/0.6394, allocations: 54.25 kB / 0.7551 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.6394, allocations: 19.44 kB / 0.7551 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.6395, allocations: 0 / 0.7551 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.00884/0.6483, allocations: 4.149 MB / 0.7592 GB, free: 10.05 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: