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.001227/0.001227, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001457/0.001457, allocations: 177.3 kB / 15.94 MB, free: 228 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.581/1.581, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.741/1.741, allocations: 251.9 MB / 0.51 GB, free: 4.758 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.0006581/0.0006584, allocations: 19.98 kB / 0.6241 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5849, allocations: 106.3 MB / 0.728 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003849/0.5888, allocations: 2.715 MB / 0.7306 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.591, allocations: 1.279 MB / 0.7319 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002545/0.5913, allocations: 4 kB / 0.7319 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.5914, allocations: 35.77 kB / 0.7319 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.5918, allocations: 111.6 kB / 0.732 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.5922, allocations: 107.7 kB / 0.7321 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.5925, allocations: 183.6 kB / 0.7323 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.5928, allocations: 223.3 kB / 0.7325 GB, free: 6.703 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.593, allocations: 99.62 kB / 0.7326 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.5932, allocations: 95.59 kB / 0.7327 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.5932, allocations: 12 kB / 0.7327 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.5934, allocations: 83.81 kB / 0.7328 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.362e-05/0.5935, allocations: 67.8 kB / 0.7328 GB, free: 6.352 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.5936, allocations: 69.58 kB / 0.7329 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.5939, allocations: 257.3 kB / 0.7332 GB, free: 6.027 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5939, allocations: 4 kB / 0.7332 GB, free: 6.023 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5939, allocations: 0 / 0.7332 GB, free: 6.023 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.5939, allocations: 0 / 0.7332 GB, free: 6.023 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.0008601/0.5948, allocations: 0.5066 MB / 0.7337 GB, free: 5.465 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.5949, allocations: 8.031 kB / 0.7337 GB, free: 5.457 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006348/0.5955, allocations: 95.59 kB / 0.7338 GB, free: 5.363 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.5958, allocations: 242.7 kB / 0.734 GB, free: 5.086 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.5959, allocations: 16.44 kB / 0.734 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.5959, allocations: 16 kB / 0.734 GB, free: 5.055 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.5964, allocations: 308.3 kB / 0.7343 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.5965, allocations: 0 / 0.7343 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.5965, allocations: 15.98 kB / 0.7343 GB, free: 4.719 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.03e-05/0.5965, allocations: 20.38 kB / 0.7343 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.5969, allocations: 213.6 kB / 0.7346 GB, free: 4.488 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.5986, allocations: 1.502 MB / 0.736 GB, free: 2.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.5991, allocations: 203.6 kB / 0.7362 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.5991, allocations: 0 / 0.7362 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.5991, allocations: 34.56 kB / 0.7362 GB, free: 2.555 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.5991, allocations: 4 kB / 0.7362 GB, free: 2.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005853/0.5997, allocations: 275.4 kB / 0.7365 GB, free: 2.254 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.5998, allocations: 55.41 kB / 0.7366 GB, free: 2.188 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.6, allocations: 203.8 kB / 0.7368 GB, free: 1.977 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.6, allocations: 29.7 kB / 0.7368 GB, free: 1.941 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.6001, allocations: 175.6 kB / 0.737 GB, free: 1.762 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.6001, allocations: 23.66 kB / 0.737 GB, free: 1.738 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.6002, allocations: 4 kB / 0.737 GB, free: 1.734 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6003, allocations: 326.8 kB / 0.7373 GB, free: 1.406 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.76e-05/0.6004, allocations: 43.98 kB / 0.7373 GB, free: 1.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.6005, allocations: 119.6 kB / 0.7374 GB, free: 1.219 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.6007, allocations: 67.92 kB / 0.7375 GB, free: 1.152 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6007, allocations: 0 / 0.7375 GB, free: 1.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003519/0.601, allocations: 226.1 kB / 0.7377 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.6011, allocations: 8 kB / 0.7377 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6011, allocations: 0 / 0.7377 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/0.6012, allocations: 28.84 kB / 0.7378 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.6014, allocations: 31.92 kB / 0.7378 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.6025, allocations: 1.335 MB / 0.7391 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.6027, allocations: 15.84 kB / 0.7391 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.6027, allocations: 8 kB / 0.7391 GB, free: 15.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.6028, allocations: 154 kB / 0.7393 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.6029, allocations: 15.81 kB / 0.7393 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.6029, allocations: 21.39 kB / 0.7393 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6029, allocations: 4 kB / 0.7393 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6029, allocations: 0 / 0.7393 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.6029, allocations: 0 / 0.7393 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/0.6036, allocations: 499.4 kB / 0.7398 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.6036, allocations: 64 / 0.7398 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/0.6037, allocations: 23.98 kB / 0.7398 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.258e-05/0.6037, allocations: 24.84 kB / 0.7398 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.6038, allocations: 0 / 0.7398 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009251/0.6047, allocations: 1.327 MB / 0.7411 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6047, allocations: 0 / 0.7411 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.605, allocations: 248.4 kB / 0.7414 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.6051, allocations: 100.9 kB / 0.7415 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.6051, allocations: 3.953 kB / 0.7415 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.6053, allocations: 8 kB / 0.7415 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.6053, allocations: 7.984 kB / 0.7415 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.6053, allocations: 8 kB / 0.7415 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001356/0.6055, allocations: 140.2 kB / 0.7416 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6055, allocations: 0 / 0.7416 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003598/0.6058, allocations: 55.84 kB / 0.7417 GB, free: 12.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001617/0.606, allocations: 99.25 kB / 0.7418 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004898/0.6065, allocations: 238.7 kB / 0.742 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.6065, allocations: 0 / 0.742 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.6067, allocations: 162.8 kB / 0.7421 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.6071, allocations: 40.28 kB / 0.7422 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007502/0.6078, allocations: 481.7 kB / 0.7426 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.6082, allocations: 0.7671 MB / 0.7434 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.6083, allocations: 33.52 kB / 0.7434 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.6084, allocations: 11.44 kB / 0.7434 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.6084, allocations: 0 / 0.7434 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.005356/0.6137, allocations: 1.768 MB / 0.7452 GB, free: 8.859 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: