Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001146/0.001146, allocations: 193.2 kB / 16.25 MB, free: 6.629 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.49/1.49, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.592/1.592, allocations: 251.7 MB / 0.5089 GB, free: 3.309 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.001352/0.001352, allocations: 67.91 kB / 0.6217 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5854/0.5867, allocations: 104.7 MB / 0.724 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005258/0.5921, allocations: 3.237 MB / 0.7272 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.5945, allocations: 1.376 MB / 0.7285 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.5947, allocations: 7.938 kB / 0.7285 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.5957, allocations: 307 kB / 0.7288 GB, free: 8.113 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.5962, allocations: 135.4 kB / 0.7289 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.5967, allocations: 139.7 kB / 0.7291 GB, free: 7.844 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004672/0.5972, allocations: 334.9 kB / 0.7294 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005193/0.5977, allocations: 269.7 kB / 0.7296 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.5979, allocations: 147.5 kB / 0.7298 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.5982, allocations: 155.4 kB / 0.7299 GB, free: 6.957 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.5983, allocations: 20 kB / 0.7299 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.5986, allocations: 167.6 kB / 0.7301 GB, free: 6.773 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.5988, allocations: 83.78 kB / 0.7302 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.5989, allocations: 127.4 kB / 0.7303 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.5994, allocations: 358.8 kB / 0.7306 GB, free: 6.215 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5994, allocations: 4 kB / 0.7307 GB, free: 6.211 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5994, allocations: 0 / 0.7307 GB, free: 6.211 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.5994, allocations: 4 kB / 0.7307 GB, free: 6.207 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008759/0.6003, allocations: 0.538 MB / 0.7312 GB, free: 5.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.6003, allocations: 8.031 kB / 0.7312 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006694/0.601, allocations: 88.58 kB / 0.7313 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.6014, allocations: 243.8 kB / 0.7315 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.6014, allocations: 24.73 kB / 0.7315 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.6014, allocations: 16.38 kB / 0.7315 GB, free: 5.207 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.602, allocations: 320.6 kB / 0.7319 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.602, allocations: 0 / 0.7319 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.602, allocations: 11.98 kB / 0.7319 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.6021, allocations: 16.44 kB / 0.7319 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.6024, allocations: 209.6 kB / 0.7321 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.6042, allocations: 1.501 MB / 0.7335 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.6046, allocations: 203.6 kB / 0.7337 GB, free: 2.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.728e-05/0.6047, allocations: 44.84 kB / 0.7338 GB, free: 2.703 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.6048, allocations: 4 kB / 0.7338 GB, free: 2.699 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.6048, allocations: 30.56 kB / 0.7338 GB, free: 2.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.6048, allocations: 0 / 0.7338 GB, free: 2.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0006343/0.6055, allocations: 267.3 kB / 0.7341 GB, free: 2.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.6055, allocations: 59.41 kB / 0.7341 GB, free: 2.301 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.6057, allocations: 203.8 kB / 0.7343 GB, free: 2.094 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.6058, allocations: 25.7 kB / 0.7343 GB, free: 2.062 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.6059, allocations: 175.6 kB / 0.7345 GB, free: 1.887 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.6059, allocations: 23.66 kB / 0.7345 GB, free: 1.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.606, allocations: 45.61 kB / 0.7346 GB, free: 1.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.6062, allocations: 330.8 kB / 0.7349 GB, free: 1.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.479e-05/0.6063, allocations: 43.92 kB / 0.7349 GB, free: 1.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.6064, allocations: 115.3 kB / 0.735 GB, free: 1.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.6066, allocations: 164.4 kB / 0.7352 GB, free: 1.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.6066, allocations: 0 / 0.7352 GB, free: 1.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003732/0.607, allocations: 229.9 kB / 0.7354 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.6071, allocations: 4 kB / 0.7354 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6071, allocations: 4 kB / 0.7354 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.6073, allocations: 29.12 kB / 0.7355 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.6074, allocations: 43.86 kB / 0.7355 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.6087, allocations: 1.418 MB / 0.7369 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.6088, allocations: 15.75 kB / 0.7369 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.6089, allocations: 12 kB / 0.7369 GB, free: 15.2 MB / 0.5606 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.609, allocations: 149.7 kB / 0.7371 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.6091, allocations: 15.91 kB / 0.7371 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.6091, allocations: 21.41 kB / 0.7371 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.6091, allocations: 4 kB / 0.7371 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6092, allocations: 64 / 0.7371 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.6092, allocations: 4 kB / 0.7371 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.6098, allocations: 487.6 kB / 0.7376 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6098, allocations: 0 / 0.7376 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.446e-05/0.6099, allocations: 16 kB / 0.7376 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.537e-05/0.61, allocations: 28.77 kB / 0.7376 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.61, allocations: 8 kB / 0.7376 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.6111, allocations: 1.421 MB / 0.739 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6111, allocations: 3.938 kB / 0.739 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.6114, allocations: 240.2 kB / 0.7392 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/0.6115, allocations: 96.91 kB / 0.7393 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.6116, allocations: 8 kB / 0.7393 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.6117, allocations: 7.984 kB / 0.7393 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.6118, allocations: 7.984 kB / 0.7393 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.6118, allocations: 0 / 0.7393 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001613/0.612, allocations: 145.5 kB / 0.7395 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.612, allocations: 0 / 0.7395 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004486/0.6124, allocations: 59.78 kB / 0.7395 GB, free: 12.26 MB / 0.5606 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002261/0.6127, allocations: 111.1 kB / 0.7396 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005945/0.6133, allocations: 230.5 kB / 0.7399 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6133, allocations: 0 / 0.7399 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.6135, allocations: 163.2 kB / 0.74 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.614, allocations: 32.27 kB / 0.7401 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.615, allocations: 494.2 kB / 0.7405 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.6155, allocations: 0.7554 MB / 0.7413 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.6157, allocations: 29.53 kB / 0.7413 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.6157, allocations: 15.44 kB / 0.7413 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.6158, allocations: 0 / 0.7413 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.005718/0.6215, allocations: 1.907 MB / 0.7432 GB, free: 8.473 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)