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.001205/0.001205, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.65/1.65, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.816/1.816, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001648/0.001648, allocations: 66.2 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3149, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006866/0.3219, allocations: 3.198 MB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.3253, allocations: 1.372 MB / 0.7878 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003654/0.3257, allocations: 4 kB / 0.7878 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.3273, allocations: 342.6 kB / 0.7881 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006964/0.328, allocations: 147.2 kB / 0.7883 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.3286, allocations: 150.1 kB / 0.7884 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006846/0.3293, allocations: 330.9 kB / 0.7887 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006893/0.33, allocations: 244 kB / 0.789 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000371/0.3304, allocations: 139.5 kB / 0.7891 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004698/0.3309, allocations: 159.4 kB / 0.7893 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.331, allocations: 20 kB / 0.7893 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.3315, allocations: 159.7 kB / 0.7894 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.3316, allocations: 87.78 kB / 0.7895 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.3319, allocations: 123.4 kB / 0.7896 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007228/0.3326, allocations: 354.9 kB / 0.79 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.3326, allocations: 4 kB / 0.79 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3326, allocations: 0 / 0.79 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.3326, allocations: 0 / 0.79 GB, free: 6.68 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.001499/0.3341, allocations: 0.5419 MB / 0.7905 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.3342, allocations: 8.031 kB / 0.7905 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000959/0.3352, allocations: 80.5 kB / 0.7906 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.3356, allocations: 243.9 kB / 0.7908 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.3357, allocations: 20.8 kB / 0.7908 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.3357, allocations: 16.38 kB / 0.7909 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.3364, allocations: 316.6 kB / 0.7912 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3365, allocations: 0 / 0.7912 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.3365, allocations: 15.98 kB / 0.7912 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-05/0.3366, allocations: 12.44 kB / 0.7912 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005074/0.3371, allocations: 217.5 kB / 0.7914 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.3391, allocations: 1.501 MB / 0.7929 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.3396, allocations: 203.7 kB / 0.7931 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3398, allocations: 40.84 kB / 0.7931 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3398, allocations: 4 kB / 0.7931 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3398, allocations: 38.5 kB / 0.7931 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 2.936e-06/0.3398, allocations: 3.984 kB / 0.7931 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0007387/0.3406, allocations: 259.4 kB / 0.7934 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.3407, allocations: 59.34 kB / 0.7934 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.3409, allocations: 211.7 kB / 0.7936 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.341, allocations: 29.7 kB / 0.7937 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.3411, allocations: 167.7 kB / 0.7938 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.3411, allocations: 27.56 kB / 0.7939 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.323e-05/0.3412, allocations: 41.7 kB / 0.7939 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3414, allocations: 326.8 kB / 0.7942 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.3415, allocations: 43.97 kB / 0.7943 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.3417, allocations: 123.2 kB / 0.7944 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.342, allocations: 164.4 kB / 0.7945 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.342, allocations: 0 / 0.7945 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000495/0.3425, allocations: 218.1 kB / 0.7947 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3426, allocations: 4 kB / 0.7947 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.3426, allocations: 8 kB / 0.7947 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.3428, allocations: 24.84 kB / 0.7948 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.343, allocations: 40.14 kB / 0.7948 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.3444, allocations: 1.429 MB / 0.7962 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3446, allocations: 15.84 kB / 0.7962 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.3446, allocations: 8 kB / 0.7962 GB, free: 15.69 MB / 0.6231 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.0001877/0.3448, allocations: 156.1 kB / 0.7964 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/0.3449, allocations: 15.81 kB / 0.7964 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.3449, allocations: 17.41 kB / 0.7964 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.345, allocations: 8.062 kB / 0.7964 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.345, allocations: 0 / 0.7964 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.345, allocations: 0 / 0.7964 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007946/0.3458, allocations: 491.2 kB / 0.7969 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3458, allocations: 3.938 kB / 0.7969 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.3459, allocations: 12 kB / 0.7969 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.346, allocations: 24.84 kB / 0.7969 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3461, allocations: 7.984 kB / 0.7969 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.3473, allocations: 1.426 MB / 0.7983 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3474, allocations: 0 / 0.7983 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.3478, allocations: 248 kB / 0.7986 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.725e-05/0.3479, allocations: 100.9 kB / 0.7987 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.3479, allocations: 8 kB / 0.7987 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.3481, allocations: 7.984 kB / 0.7987 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.3481, allocations: 8 kB / 0.7987 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.3482, allocations: 3.984 kB / 0.7987 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001595/0.3483, allocations: 145.5 kB / 0.7988 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3483, allocations: 0 / 0.7988 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004973/0.3488, allocations: 59.78 kB / 0.7989 GB, free: 12.73 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.0001339/0.349, allocations: 99.25 kB / 0.799 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005736/0.3496, allocations: 242.4 kB / 0.7992 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3496, allocations: 0 / 0.7992 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.3499, allocations: 163.2 kB / 0.7994 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.3504, allocations: 38.42 kB / 0.7994 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008988/0.3513, allocations: 391.7 kB / 0.7998 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3517, allocations: 0.7554 MB / 0.8005 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.3518, allocations: 25.53 kB / 0.8005 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.3519, allocations: 15.44 kB / 0.8005 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.3519, allocations: 0 / 0.8005 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.006427/0.3584, allocations: 1.934 MB / 0.8024 GB, free: 9.008 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)