Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00152/0.00152, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.002079/0.002079, allocations: 199 kB / 16.26 MB, free: 6.625 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.731/1.731, 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 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001998/0.001998, allocations: 75.06 kB / 0.671 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3516, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005995/0.3576, allocations: 3.241 MB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.3601, allocations: 1.372 MB / 0.7874 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.3603, allocations: 4 kB / 0.7874 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.3614, allocations: 318.9 kB / 0.7877 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.3618, allocations: 135.4 kB / 0.7878 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.3622, allocations: 139.7 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.3626, allocations: 330.9 kB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005459/0.3631, allocations: 264 kB / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.3634, allocations: 135.5 kB / 0.7886 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.3637, allocations: 163.4 kB / 0.7888 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.3638, allocations: 20 kB / 0.7888 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.3641, allocations: 171.6 kB / 0.789 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.3642, allocations: 83.73 kB / 0.789 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.3644, allocations: 119.4 kB / 0.7892 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.3648, allocations: 370.8 kB / 0.7895 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.108e-06/0.3649, allocations: 0 / 0.7895 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3649, allocations: 0 / 0.7895 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.3649, allocations: 8 kB / 0.7895 GB, free: 7.043 MB / 0.6075 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.00108/0.366, allocations: 0.538 MB / 0.79 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.366, allocations: 8.031 kB / 0.79 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006386/0.3667, allocations: 84.48 kB / 0.7901 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.3671, allocations: 238.8 kB / 0.7904 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.3671, allocations: 24.75 kB / 0.7904 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.3672, allocations: 20.36 kB / 0.7904 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/0.3678, allocations: 316.7 kB / 0.7907 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.3678, allocations: 0 / 0.7907 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.3678, allocations: 8 kB / 0.7907 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/0.3679, allocations: 20.38 kB / 0.7907 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.3683, allocations: 213.5 kB / 0.7909 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.3701, allocations: 1.498 MB / 0.7924 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.3705, allocations: 199.7 kB / 0.7926 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.917e-05/0.3706, allocations: 44.84 kB / 0.7926 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.3707, allocations: 4 kB / 0.7926 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.3707, allocations: 46.41 kB / 0.7927 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.3707, allocations: 0 / 0.7927 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0006239/0.3714, allocations: 251.5 kB / 0.7929 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.3714, allocations: 59.41 kB / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.3716, allocations: 207.6 kB / 0.7932 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.3717, allocations: 29.7 kB / 0.7932 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3718, allocations: 175.6 kB / 0.7934 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.3718, allocations: 35.48 kB / 0.7934 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.3719, allocations: 33.72 kB / 0.7934 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3721, allocations: 326.8 kB / 0.7937 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/0.3722, allocations: 51.97 kB / 0.7938 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.3723, allocations: 112.5 kB / 0.7939 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.3726, allocations: 164.4 kB / 0.7941 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3726, allocations: 4 kB / 0.7941 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003505/0.3729, allocations: 210 kB / 0.7943 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.373, allocations: 6.656 kB / 0.7943 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.373, allocations: 4 kB / 0.7943 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.3732, allocations: 33.06 kB / 0.7943 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3733, allocations: 31.92 kB / 0.7943 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.3744, allocations: 1.433 MB / 0.7957 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.3746, allocations: 15.91 kB / 0.7957 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.3746, allocations: 8 kB / 0.7958 GB, free: 60 kB / 0.6075 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.0001731/0.3748, allocations: 153.7 kB / 0.7959 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.3748, allocations: 19.91 kB / 0.7959 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.3748, allocations: 17.41 kB / 0.7959 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3749, allocations: 0 / 0.7959 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3749, allocations: 7.984 kB / 0.7959 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3749, allocations: 0 / 0.7959 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/0.3756, allocations: 487.1 kB / 0.7964 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3756, allocations: 0 / 0.7964 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.3757, allocations: 15.98 kB / 0.7964 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.04e-05/0.3757, allocations: 24.84 kB / 0.7964 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3758, allocations: 8.094 kB / 0.7965 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.3768, allocations: 1.425 MB / 0.7978 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3768, allocations: 0 / 0.7978 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.3771, allocations: 240.6 kB / 0.7981 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.3772, allocations: 100.9 kB / 0.7982 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.3773, allocations: 7.984 kB / 0.7982 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.3774, allocations: 8 kB / 0.7982 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.3774, allocations: 3.984 kB / 0.7982 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3774, allocations: 4 kB / 0.7982 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001389/0.3776, allocations: 145.5 kB / 0.7983 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3776, allocations: 0 / 0.7983 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003543/0.378, allocations: 63.78 kB / 0.7984 GB, free: 13.11 MB / 0.6231 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.00018/0.3781, allocations: 95.25 kB / 0.7985 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004738/0.3786, allocations: 242.5 kB / 0.7987 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3786, allocations: 0.5625 kB / 0.7987 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.3788, allocations: 170.6 kB / 0.7989 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.3793, allocations: 35.98 kB / 0.7989 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007548/0.38, allocations: 483.8 kB / 0.7994 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.3804, allocations: 0.7476 MB / 0.8001 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.3805, allocations: 29.53 kB / 0.8001 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.3806, allocations: 19.44 kB / 0.8002 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.3806, allocations: 0 / 0.8002 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of Templates: time 0.005122/0.3857, allocations: 1.916 MB / 0.802 GB, free: 9.32 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)