Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, 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.0009796/0.0009796, allocations: 181.6 kB / 327.3 MB, free: 2.207 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.811/1.811, allocations: 205.4 MB / 0.5783 GB, free: 20.53 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.0007953/0.0007956, allocations: 87.23 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.0004111, allocations: 13.69 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2208, allocations: 106.3 MB / 0.9008 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002354/0.2233, allocations: 2.072 MB / 0.9029 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.2249, allocations: 1.373 MB / 0.9042 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.312e-05/0.225, allocations: 0 / 0.9042 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.2252, allocations: 27.78 kB / 0.9042 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.2255, allocations: 99.53 kB / 0.9043 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.2258, allocations: 143.7 kB / 0.9045 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.226, allocations: 251.2 kB / 0.9047 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.2264, allocations: 226 kB / 0.9049 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.2265, allocations: 71.7 kB / 0.905 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.2267, allocations: 99.64 kB / 0.9051 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.2267, allocations: 8 kB / 0.9051 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.2269, allocations: 111.8 kB / 0.9052 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.227, allocations: 55.86 kB / 0.9052 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.416e-05/0.227, allocations: 49.64 kB / 0.9053 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.2273, allocations: 203.8 kB / 0.9055 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2273, allocations: 3.938 kB / 0.9055 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2273, allocations: 0 / 0.9055 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2273, allocations: 0 / 0.9055 GB, free: 59.46 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005844/0.2279, allocations: 447 kB / 0.9059 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2279, allocations: 8.031 kB / 0.9059 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004781/0.2284, allocations: 71.69 kB / 0.906 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.2286, allocations: 224.9 kB / 0.9062 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.2287, allocations: 16.27 kB / 0.9062 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.2287, allocations: 12 kB / 0.9062 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.2291, allocations: 271.7 kB / 0.9065 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2291, allocations: 3.938 kB / 0.9065 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.2291, allocations: 11.98 kB / 0.9065 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.2292, allocations: 16.22 kB / 0.9065 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.2294, allocations: 216.4 kB / 0.9067 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2307, allocations: 1.572 MB / 0.9083 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.2311, allocations: 315.3 kB / 0.9086 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.2312, allocations: 69.64 kB / 0.9086 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.2312, allocations: 8.125 kB / 0.9086 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.2312, allocations: 34.56 kB / 0.9087 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.2312, allocations: 0 / 0.9087 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004815/0.2317, allocations: 244.4 kB / 0.9089 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.2318, allocations: 85.05 kB / 0.909 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.2319, allocations: 199.7 kB / 0.9092 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.2319, allocations: 25.7 kB / 0.9092 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.232, allocations: 155.6 kB / 0.9094 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.232, allocations: 43.45 kB / 0.9094 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.232, allocations: 0 / 0.9094 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.973e-05/0.2321, allocations: 330.8 kB / 0.9097 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.2322, allocations: 59.97 kB / 0.9098 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.2323, allocations: 155.8 kB / 0.9099 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.2324, allocations: 91.91 kB / 0.91 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2325, allocations: 4 kB / 0.91 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002964/0.2328, allocations: 261.4 kB / 0.9103 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.2328, allocations: 171.4 kB / 0.9104 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2328, allocations: 0 / 0.9104 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2329, allocations: 11.98 kB / 0.9104 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.2331, allocations: 51.91 kB / 0.9105 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.2331, allocations: 8 kB / 0.9105 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.2332, allocations: 15.89 kB / 0.9105 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2333, allocations: 12 kB / 0.9105 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/0.2333, allocations: 4 kB / 0.9105 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002412/0.2335, allocations: 191.9 kB / 0.9107 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2335, allocations: 8.031 kB / 0.9107 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-06/0.2336, allocations: 4 kB / 0.9107 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.2337, allocations: 55.86 kB / 0.9108 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.2337, allocations: 4 kB / 0.9108 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.571e-05/0.2338, allocations: 11.94 kB / 0.9108 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.2338, allocations: 15.98 kB / 0.9108 GB, free: 53.56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.234, allocations: 213 kB / 0.911 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.234, allocations: 19.75 kB / 0.911 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.2342, allocations: 147.1 kB / 0.9112 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2343, allocations: 3.953 kB / 0.9112 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.2343, allocations: 11.92 kB / 0.9112 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2343, allocations: 4 kB / 0.9112 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007219/0.235, allocations: 0.7157 MB / 0.9119 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.235, allocations: 4 kB / 0.9119 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.573e-05/0.2351, allocations: 23.92 kB / 0.9119 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2351, allocations: 4 kB / 0.9119 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2351, allocations: 8 kB / 0.9119 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2352, allocations: 7.984 kB / 0.9119 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2352, allocations: 4.344 kB / 0.9119 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.2354, allocations: 378.2 kB / 0.9123 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.2355, allocations: 100.9 kB / 0.9124 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.2355, allocations: 11.98 kB / 0.9124 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.2356, allocations: 8 kB / 0.9124 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.2357, allocations: 19.88 kB / 0.9124 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.2357, allocations: 15.94 kB / 0.9124 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.155e-05/0.2358, allocations: 139.7 kB / 0.9126 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2358, allocations: 0 / 0.9126 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004471/0.2362, allocations: 68 kB / 0.9126 GB, free: 51.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001363/0.2364, allocations: 111.2 kB / 0.9127 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.2367, allocations: 260.1 kB / 0.913 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2367, allocations: 0 / 0.913 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.558e-05/0.2368, allocations: 61.41 kB / 0.913 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.2373, allocations: 32.78 kB / 0.9131 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.2379, allocations: 0.5263 MB / 0.9136 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.238, allocations: 0.7324 MB / 0.9143 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.2381, allocations: 23.42 kB / 0.9143 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.2381, allocations: 3.938 kB / 0.9143 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.003355/0.2415, allocations: 2.2 MB / 0.9165 GB, free: 47.48 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)