Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009331/0.0009332, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006993/0.006993, allocations: 168.5 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003978, allocations: 8.438 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3854, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003646/0.3891, allocations: 2.427 MB / 1.077 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004352/0.3934, allocations: 2.069 MB / 1.079 GB, free: 3 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004188/0.3939, allocations: 4 kB / 1.079 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.3943, allocations: 35.66 kB / 1.079 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.3956, allocations: 211.3 kB / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.3968, allocations: 238.8 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008809/0.3977, allocations: 458.7 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.3989, allocations: 374.1 kB / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.3994, allocations: 95.62 kB / 1.08 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006028/0.4, allocations: 155.5 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.673e-05/0.4001, allocations: 8 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.4014, allocations: 483.1 kB / 1.081 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.4016, allocations: 87.77 kB / 1.081 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.4018, allocations: 129.1 kB / 1.081 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.4032, allocations: 498.7 kB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.4032, allocations: 0 / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of FrontEnd: time 3.446e-06/0.4032, allocations: 0 / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.4032, allocations: 0 / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001516/0.4048, allocations: 0.5226 MB / 1.082 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.914e-05/0.4048, allocations: 8.031 kB / 1.082 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.4062, allocations: 128.5 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006279/0.4068, allocations: 257.8 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.4069, allocations: 12.81 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.407, allocations: 28.11 kB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/0.408, allocations: 401.9 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.408, allocations: 3.938 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.4081, allocations: 12 kB / 1.083 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.379e-05/0.4081, allocations: 27.92 kB / 1.083 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009323/0.4091, allocations: 379.7 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.4117, allocations: 1.745 MB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/0.4125, allocations: 353 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004142/0.4129, allocations: 193.6 kB / 1.085 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.4131, allocations: 89.09 kB / 1.085 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.4132, allocations: 42.5 kB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.735e-06/0.4132, allocations: 0 / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.009712/0.4229, allocations: 2.216 MB / 1.087 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.423, allocations: 81.11 kB / 1.087 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.4232, allocations: 183.5 kB / 1.088 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.4233, allocations: 33.7 kB / 1.088 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4234, allocations: 152.3 kB / 1.088 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.4236, allocations: 122.3 kB / 1.088 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/0.4236, allocations: 29.7 kB / 1.088 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4238, allocations: 338.8 kB / 1.088 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005834/0.4244, allocations: 267.8 kB / 1.089 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/0.425, allocations: 361.4 kB / 1.089 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.4262, allocations: 0.6463 MB / 1.09 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4263, allocations: 3.938 kB / 1.09 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001451/0.4277, allocations: 0.6827 MB / 1.09 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.4279, allocations: 156.7 kB / 1.09 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.4279, allocations: 11.98 kB / 1.09 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.4279, allocations: 4 kB / 1.09 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009834/0.4289, allocations: 159.8 kB / 1.091 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.4289, allocations: 8 kB / 1.091 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.4294, allocations: 55.92 kB / 1.091 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.4295, allocations: 19.98 kB / 1.091 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4295, allocations: 9.5 kB / 1.091 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0013/0.4308, allocations: 0.6243 MB / 1.091 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4308, allocations: 0 / 1.091 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.4308, allocations: 4 kB / 1.091 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/0.4317, allocations: 156 kB / 1.091 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4317, allocations: 4 kB / 1.091 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.4322, allocations: 59.92 kB / 1.091 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.4323, allocations: 19.94 kB / 1.091 GB, free: 5.234 MB / 0.8419 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.4325, allocations: 244.9 kB / 1.092 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.17e-05/0.4326, allocations: 27.75 kB / 1.092 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.4341, allocations: 0.6925 MB / 1.092 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.4341, allocations: 7.984 kB / 1.092 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4341, allocations: 0 / 1.092 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.4342, allocations: 0 / 1.092 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.4364, allocations: 1.391 MB / 1.094 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4364, allocations: 0 / 1.094 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.437, allocations: 132.1 kB / 1.094 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.4371, allocations: 4 kB / 1.094 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.4371, allocations: 12 kB / 1.094 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.4371, allocations: 4 kB / 1.094 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4371, allocations: 7.938 kB / 1.094 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.4382, allocations: 0.7327 MB / 1.095 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.4384, allocations: 148.7 kB / 1.095 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.4384, allocations: 8 kB / 1.095 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.4388, allocations: 47.94 kB / 1.095 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4389, allocations: 35.84 kB / 1.095 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.4389, allocations: 11.98 kB / 1.095 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001874/0.4391, allocations: 151.2 kB / 1.095 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4391, allocations: 4 kB / 1.095 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006982/0.4398, allocations: 148 kB / 1.095 GB, free: 1.273 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002482/0.4401, allocations: 131.2 kB / 1.095 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001823/0.4419, allocations: 0.9028 MB / 1.096 GB, free: 236 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.442, allocations: 0 / 1.096 GB, free: 236 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004872/0.4424, allocations: 269 kB / 1.096 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.443, allocations: 51.8 kB / 1.096 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.4444, allocations: 0.8268 MB / 1.097 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.4448, allocations: 0.7799 MB / 1.098 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006043/0.4454, allocations: 178.8 kB / 1.098 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.4455, allocations: 31.42 kB / 1.098 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.4456, allocations: 0 / 1.098 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of Templates: time 0.009712/0.4553, allocations: 4.869 MB / 1.103 GB, free: 9.18 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)