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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 180.1 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 0.5783 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007511/0.000751, allocations: 103.3 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 11.19 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.203, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003126/0.2062, allocations: 2.778 MB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.208, allocations: 1.295 MB / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.2082, allocations: 4 kB / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.2084, allocations: 43.64 kB / 0.9048 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.2087, allocations: 119.4 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.209, allocations: 107.7 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.2093, allocations: 370.8 kB / 0.9054 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.2096, allocations: 227.3 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.2098, allocations: 103.6 kB / 0.9057 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.21, allocations: 143.5 kB / 0.9059 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.2101, allocations: 12 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.2103, allocations: 83.88 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.2103, allocations: 71.73 kB / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.2104, allocations: 69.58 kB / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.2106, allocations: 255.6 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2107, allocations: 0 / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2107, allocations: 8 kB / 0.9063 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2107, allocations: 0 / 0.9063 GB, free: 58.17 MB / 0.6042 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.0007327/0.2114, allocations: 0.4989 MB / 0.9068 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2115, allocations: 12.03 kB / 0.9068 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000564/0.212, allocations: 83.59 kB / 0.9069 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.2123, allocations: 246.7 kB / 0.9072 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2123, allocations: 16.44 kB / 0.9072 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.2124, allocations: 16 kB / 0.9072 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.2128, allocations: 316.3 kB / 0.9075 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2128, allocations: 0 / 0.9075 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.2129, allocations: 12 kB / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.2129, allocations: 20.38 kB / 0.9075 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.2132, allocations: 217.5 kB / 0.9077 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.2144, allocations: 1.498 MB / 0.9092 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.2148, allocations: 211.7 kB / 0.9094 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.2149, allocations: 48.83 kB / 0.9094 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.2149, allocations: 3.938 kB / 0.9094 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.215, allocations: 38.62 kB / 0.9095 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.215, allocations: 0 / 0.9095 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0005199/0.2155, allocations: 267.3 kB / 0.9097 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.2155, allocations: 55.41 kB / 0.9098 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.2157, allocations: 204.5 kB / 0.91 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.2157, allocations: 29.7 kB / 0.91 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.2158, allocations: 179.6 kB / 0.9102 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.2158, allocations: 31.62 kB / 0.9102 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/0.2158, allocations: 0 / 0.9102 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.2159, allocations: 326.8 kB / 0.9105 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.216, allocations: 43.97 kB / 0.9106 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.2161, allocations: 118.7 kB / 0.9107 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.2162, allocations: 59.97 kB / 0.9107 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2163, allocations: 7.953 kB / 0.9107 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000319/0.2166, allocations: 218.2 kB / 0.911 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2166, allocations: 4 kB / 0.911 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2166, allocations: 4.391 kB / 0.911 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/0.2168, allocations: 28.78 kB / 0.911 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.217, allocations: 35.97 kB / 0.911 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007396/0.2177, allocations: 1.319 MB / 0.9123 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.2178, allocations: 20 kB / 0.9123 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.2179, allocations: 15.98 kB / 0.9123 GB, free: 51.46 MB / 0.6042 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.0001138/0.218, allocations: 154.4 kB / 0.9125 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.218, allocations: 15.81 kB / 0.9125 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.2181, allocations: 17.41 kB / 0.9125 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2181, allocations: 0 / 0.9125 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.2181, allocations: 0 / 0.9125 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2181, allocations: 4 kB / 0.9125 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.2186, allocations: 0.4913 MB / 0.913 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2186, allocations: 3.938 kB / 0.913 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.2187, allocations: 8 kB / 0.913 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.051e-05/0.2187, allocations: 24.84 kB / 0.913 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.2188, allocations: 3.984 kB / 0.913 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006171/0.2194, allocations: 1.331 MB / 0.9143 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2194, allocations: 160 / 0.9143 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.2196, allocations: 240.1 kB / 0.9146 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.2197, allocations: 100.9 kB / 0.9147 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.2197, allocations: 3.953 kB / 0.9147 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.2199, allocations: 8 kB / 0.9147 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.2199, allocations: 11.98 kB / 0.9147 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.2199, allocations: 4 kB / 0.9147 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.28e-05/0.22, allocations: 145.5 kB / 0.9148 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.22, allocations: 0 / 0.9148 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003095/0.2204, allocations: 55.84 kB / 0.9149 GB, free: 48.62 MB / 0.6042 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.0001071/0.2205, allocations: 96.52 kB / 0.915 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.2209, allocations: 234.5 kB / 0.9152 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2209, allocations: 4 kB / 0.9152 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.2211, allocations: 167.2 kB / 0.9154 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.2215, allocations: 35.97 kB / 0.9154 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000618/0.2221, allocations: 0.5047 MB / 0.9159 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.2223, allocations: 0.7554 MB / 0.9166 GB, free: 46.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.2223, allocations: 19.42 kB / 0.9167 GB, free: 46.72 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2223, allocations: 0 / 0.9167 GB, free: 46.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.004234/0.2266, allocations: 3.21 MB / 0.9198 GB, free: 43.52 MB / 0.6042 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)