Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.594/1.594, allocations: 285.4 MB / 298 MB, free: 5.941 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.001243/0.001243, allocations: 180.8 kB / 366.4 MB, free: 2.109 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.696/1.696, allocations: 205.1 MB / 0.6248 GB, free: 7.77 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.0008248/0.0008248, allocations: 95.5 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.123e-05, allocations: 8 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7267/0.7267, allocations: 115.3 MB / 0.9709 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2249/0.9516, allocations: 157.1 MB / 1.124 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.952, allocations: 95.94 kB / 1.124 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02873/0.9807, allocations: 11.73 MB / 1.136 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.425e-06/0.9808, allocations: 0 / 1.136 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.893e-05/0.9808, allocations: 5.031 kB / 1.136 GB, free: 14.87 MB / 0.7448 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.0009292/0.9818, allocations: 455.7 kB / 1.136 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.9818, allocations: 8.031 kB / 1.136 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007554/0.9826, allocations: 71.67 kB / 1.136 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.983, allocations: 222.8 kB / 1.137 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.9831, allocations: 12 kB / 1.137 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.9831, allocations: 12 kB / 1.137 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.9837, allocations: 278.5 kB / 1.137 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.9837, allocations: 4 kB / 1.137 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.9837, allocations: 4 kB / 1.137 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/0.9838, allocations: 17.72 kB / 1.137 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.9842, allocations: 200.5 kB / 1.137 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.986, allocations: 1.591 MB / 1.139 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.9862, allocations: 73.12 kB / 1.139 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.844e-05/0.9863, allocations: 49.81 kB / 1.139 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.9863, allocations: 4 kB / 1.139 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.9863, allocations: 30.56 kB / 1.139 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.434e-06/0.9863, allocations: 0 / 1.139 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0005009/0.9868, allocations: 192.5 kB / 1.139 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.9869, allocations: 81.05 kB / 1.139 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.9871, allocations: 201.5 kB / 1.139 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.9872, allocations: 25.7 kB / 1.139 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.832e-05/0.9873, allocations: 159.5 kB / 1.139 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.9873, allocations: 31.59 kB / 1.139 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.9873, allocations: 4 kB / 1.139 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.9874, allocations: 330.9 kB / 1.14 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.9876, allocations: 75.53 kB / 1.14 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.9877, allocations: 159.1 kB / 1.14 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.9879, allocations: 99.83 kB / 1.14 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9879, allocations: 4 kB / 1.14 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003975/0.9883, allocations: 270.3 kB / 1.14 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004321/0.9887, allocations: 1.138 MB / 1.141 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.9888, allocations: 3.125 kB / 1.141 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.9888, allocations: 4 kB / 1.141 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.989, allocations: 59.89 kB / 1.141 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.9891, allocations: 6.891 kB / 1.141 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.9893, allocations: 27.81 kB / 1.142 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.9893, allocations: 12 kB / 1.142 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.9893, allocations: 8 kB / 1.142 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000309/0.9896, allocations: 211.5 kB / 1.142 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.9896, allocations: 7.984 kB / 1.142 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.9897, allocations: 4 kB / 1.142 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.9898, allocations: 47.91 kB / 1.142 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.9899, allocations: 4.375 kB / 1.142 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.99, allocations: 19.98 kB / 1.142 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.99, allocations: 11.95 kB / 1.142 GB, free: 8.242 MB / 0.7448 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 () * 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 9.779e-05/0.9901, allocations: 116.9 kB / 1.142 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.9902, allocations: 15.81 kB / 1.142 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.9904, allocations: 114.6 kB / 1.142 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.9904, allocations: 4 kB / 1.142 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9904, allocations: 0 / 1.142 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.9905, allocations: 0 / 1.142 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007473/0.9912, allocations: 0.6235 MB / 1.143 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.9912, allocations: 3.984 kB / 1.143 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.9913, allocations: 16.25 kB / 1.143 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.9913, allocations: 8.031 kB / 1.143 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.9913, allocations: 18 kB / 1.143 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.9913, allocations: 7.938 kB / 1.143 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9914, allocations: 0 / 1.143 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.9917, allocations: 411.7 kB / 1.143 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.9918, allocations: 108.9 kB / 1.143 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.9918, allocations: 4 kB / 1.143 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.992, allocations: 11.98 kB / 1.143 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.992, allocations: 11.92 kB / 1.143 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.992, allocations: 5.688 kB / 1.143 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001608/0.9922, allocations: 168.2 kB / 1.143 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-07/0.9922, allocations: 4 kB / 1.143 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005101/0.9927, allocations: 83.94 kB / 1.144 GB, free: 6.352 MB / 0.7448 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 () * 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.0002084/0.9929, allocations: 115.2 kB / 1.144 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.9934, allocations: 276.4 kB / 1.144 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9934, allocations: 4.156 kB / 1.144 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.045e-05/0.9934, allocations: 43.86 kB / 1.144 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.9938, allocations: 28.11 kB / 1.144 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.9943, allocations: 271.2 kB / 1.144 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.9946, allocations: 0.7402 MB / 1.145 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.9949, allocations: 73.47 kB / 1.145 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.9949, allocations: 23.36 kB / 1.145 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/0.9949, allocations: 0 / 1.145 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of Templates: time 0.004459/0.9994, allocations: 1.68 MB / 1.147 GB, free: 3.102 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)