Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.6 MB / 307.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 185 kB / 377.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 0.6367 GB, free: 9.516 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009295/0.0009296, allocations: 90.73 kB / 0.751 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003634, allocations: 8 kB / 0.8748 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3118, allocations: 116.3 MB / 0.9884 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8425/1.154, allocations: 158.1 MB / 1.143 GB, free: 20.63 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003815/1.155, allocations: 94.09 kB / 1.143 GB, free: 20.55 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02845/1.183, allocations: 11.82 MB / 1.154 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.204e-06/1.183, allocations: 1.312 kB / 1.154 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.699e-05/1.183, allocations: 7.984 kB / 1.154 GB, free: 12.23 MB / 0.7292 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.0006269/1.184, allocations: 469.1 kB / 1.155 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/1.184, allocations: 12.03 kB / 1.155 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005853/1.185, allocations: 69.09 kB / 1.155 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/1.185, allocations: 228.9 kB / 1.155 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/1.185, allocations: 11.98 kB / 1.155 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/1.185, allocations: 15.98 kB / 1.155 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/1.185, allocations: 284.6 kB / 1.155 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.185, allocations: 0 / 1.155 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/1.185, allocations: 11.98 kB / 1.155 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/1.186, allocations: 13.33 kB / 1.155 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/1.186, allocations: 209.1 kB / 1.156 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/1.187, allocations: 1.58 MB / 1.157 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/1.187, allocations: 76.8 kB / 1.157 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/1.188, allocations: 0 / 1.157 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/1.188, allocations: 34.69 kB / 1.157 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/1.188, allocations: 0 / 1.157 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0005038/1.188, allocations: 225.5 kB / 1.158 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/1.188, allocations: 81.11 kB / 1.158 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/1.188, allocations: 199.8 kB / 1.158 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/1.188, allocations: 25.7 kB / 1.158 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/1.188, allocations: 164.6 kB / 1.158 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/1.188, allocations: 31.69 kB / 1.158 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/1.188, allocations: 4 kB / 1.158 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/1.189, allocations: 327.8 kB / 1.158 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/1.189, allocations: 76.61 kB / 1.158 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/1.189, allocations: 154 kB / 1.159 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/1.189, allocations: 110.4 kB / 1.159 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.189, allocations: 0 / 1.159 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003615/1.189, allocations: 274.6 kB / 1.159 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002306/1.19, allocations: 1.141 MB / 1.16 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/1.19, allocations: 4 kB / 1.16 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.19, allocations: 4 kB / 1.16 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/1.19, allocations: 63.03 kB / 1.16 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.19, allocations: 4.547 kB / 1.16 GB, free: 6.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/1.19, allocations: 23.17 kB / 1.16 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/1.19, allocations: 9.547 kB / 1.16 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/1.19, allocations: 4 kB / 1.16 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002798/1.19, allocations: 221.6 kB / 1.16 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-06/1.19, allocations: 4 kB / 1.16 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/1.19, allocations: 4 kB / 1.16 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/1.191, allocations: 49.08 kB / 1.16 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.191, allocations: 4.547 kB / 1.16 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/1.191, allocations: 15.98 kB / 1.16 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/1.191, allocations: 15.98 kB / 1.16 GB, free: 6.027 MB / 0.7292 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.0001263/1.191, allocations: 224.9 kB / 1.161 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/1.191, allocations: 15.81 kB / 1.161 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/1.191, allocations: 118.6 kB / 1.161 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/1.191, allocations: 0 / 1.161 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.191, allocations: 4.875 kB / 1.161 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.191, allocations: 0 / 1.161 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/1.192, allocations: 0.6235 MB / 1.161 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.192, allocations: 4 kB / 1.161 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/1.192, allocations: 15.98 kB / 1.161 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.192, allocations: 4 kB / 1.161 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/1.192, allocations: 5.078 kB / 1.161 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.192, allocations: 4 kB / 1.161 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.192, allocations: 7.938 kB / 1.161 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/1.192, allocations: 408.6 kB / 1.162 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/1.192, allocations: 108.8 kB / 1.162 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/1.192, allocations: 7.938 kB / 1.162 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/1.192, allocations: 19.92 kB / 1.162 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/1.192, allocations: 8 kB / 1.162 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/1.192, allocations: 5.125 kB / 1.162 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001166/1.192, allocations: 174.7 kB / 1.162 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.192, allocations: 0 / 1.162 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004743/1.193, allocations: 83.94 kB / 1.162 GB, free: 4.023 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001599/1.193, allocations: 115.2 kB / 1.162 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003509/1.193, allocations: 272.3 kB / 1.163 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.193, allocations: 0 / 1.163 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.783e-05/1.194, allocations: 49.41 kB / 1.163 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/1.194, allocations: 34.77 kB / 1.163 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005968/1.194, allocations: 468.9 kB / 1.163 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/1.195, allocations: 0.744 MB / 1.164 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001783/1.195, allocations: 77.45 kB / 1.164 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/1.195, allocations: 15.44 kB / 1.164 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.195, allocations: 0 / 1.164 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of Templates: time 0.003722/1.199, allocations: 1.532 MB / 1.165 GB, free: 0.6836 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)