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.001307/0.001307, allocations: 107.7 kB / 15.99 MB, free: 6.352 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.001274/0.001274, allocations: 185.2 kB / 16.9 MB, free: 6.188 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.404/1.404, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.649/1.649, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001427/0.001427, allocations: 61.16 kB / 0.6716 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3147, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005627/0.3204, allocations: 3.233 MB / 0.7867 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.323, allocations: 1.372 MB / 0.788 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.3232, allocations: 4 kB / 0.788 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.3243, allocations: 318.9 kB / 0.7883 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000431/0.3248, allocations: 131.4 kB / 0.7884 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.3252, allocations: 135.7 kB / 0.7886 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.3256, allocations: 330.8 kB / 0.7889 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005333/0.3262, allocations: 276 kB / 0.7892 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.3264, allocations: 135.5 kB / 0.7893 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.3267, allocations: 151.4 kB / 0.7894 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.3267, allocations: 24 kB / 0.7895 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.3271, allocations: 171.6 kB / 0.7896 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.3272, allocations: 79.8 kB / 0.7897 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.3274, allocations: 127.3 kB / 0.7898 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.3278, allocations: 283.3 kB / 0.7901 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.3279, allocations: 0 / 0.7901 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3279, allocations: 0 / 0.7901 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.3279, allocations: 0 / 0.7901 GB, free: 7.145 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.00103/0.3289, allocations: 0.5341 MB / 0.7906 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.329, allocations: 8.031 kB / 0.7906 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006249/0.3296, allocations: 84.48 kB / 0.7907 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.33, allocations: 250.7 kB / 0.7909 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.33, allocations: 12.81 kB / 0.7909 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.33, allocations: 20.36 kB / 0.791 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.3306, allocations: 320.6 kB / 0.7913 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3306, allocations: 0 / 0.7913 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.3306, allocations: 4 kB / 0.7913 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.3307, allocations: 24.42 kB / 0.7913 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.3311, allocations: 213.4 kB / 0.7915 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.333, allocations: 1.505 MB / 0.793 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/0.3335, allocations: 199.7 kB / 0.7932 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3337, allocations: 44.83 kB / 0.7932 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.3337, allocations: 0 / 0.7932 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.3337, allocations: 38.56 kB / 0.7932 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.3337, allocations: 3.938 kB / 0.7932 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0007186/0.3345, allocations: 259.5 kB / 0.7935 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.3345, allocations: 51.41 kB / 0.7935 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.3349, allocations: 215.6 kB / 0.7937 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.335, allocations: 25.7 kB / 0.7938 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.3351, allocations: 167.7 kB / 0.7939 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.3352, allocations: 31.55 kB / 0.794 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.3352, allocations: 37.7 kB / 0.794 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.3355, allocations: 330.8 kB / 0.7943 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.3356, allocations: 47.91 kB / 0.7944 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.3358, allocations: 112.5 kB / 0.7945 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.3361, allocations: 164.4 kB / 0.7946 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3361, allocations: 0 / 0.7946 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004412/0.3365, allocations: 214.1 kB / 0.7948 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.3366, allocations: 4 kB / 0.7948 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3366, allocations: 7.984 kB / 0.7948 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/0.3368, allocations: 24.84 kB / 0.7949 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.337, allocations: 39.86 kB / 0.7949 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.3385, allocations: 1.429 MB / 0.7963 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.3386, allocations: 15.97 kB / 0.7963 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.3387, allocations: 19.88 kB / 0.7963 GB, free: 156 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.0001786/0.3389, allocations: 145.7 kB / 0.7965 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.3389, allocations: 15.98 kB / 0.7965 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.339, allocations: 21.45 kB / 0.7965 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.339, allocations: 7.984 kB / 0.7965 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.339, allocations: 0 / 0.7965 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.339, allocations: 8.062 kB / 0.7965 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007428/0.3398, allocations: 487.1 kB / 0.797 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3398, allocations: 3.984 kB / 0.797 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.3398, allocations: 12 kB / 0.797 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-05/0.3399, allocations: 20.84 kB / 0.797 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.34, allocations: 4 kB / 0.797 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.3411, allocations: 1.429 MB / 0.7984 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3411, allocations: 0 / 0.7984 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.3414, allocations: 232.5 kB / 0.7986 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3415, allocations: 100.9 kB / 0.7987 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.3416, allocations: 4 kB / 0.7987 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.3417, allocations: 12.05 kB / 0.7988 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.3418, allocations: 7.984 kB / 0.7988 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.3418, allocations: 4 kB / 0.7988 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000139/0.3419, allocations: 145.5 kB / 0.7989 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3419, allocations: 0 / 0.7989 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003768/0.3423, allocations: 59.78 kB / 0.799 GB, free: 13.21 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.0001452/0.3425, allocations: 103.2 kB / 0.7991 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005098/0.343, allocations: 246.5 kB / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.343, allocations: 0 / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.3432, allocations: 162.6 kB / 0.7994 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.3436, allocations: 42.47 kB / 0.7995 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008873/0.3445, allocations: 0.5018 MB / 0.8 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.3451, allocations: 0.7554 MB / 0.8007 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.3452, allocations: 19.38 kB / 0.8007 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.3452, allocations: 0 / 0.8007 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of Templates: time 0.005804/0.351, allocations: 3.233 MB / 0.8039 GB, free: 8.07 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)