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.001391/0.001391, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001695/0.001695, allocations: 195.8 kB / 16.26 MB, free: 6.621 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.53 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3314, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003941/0.3354, allocations: 2.793 MB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002923/0.3383, allocations: 2.076 MB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.3385, allocations: 3.938 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007537/0.3393, allocations: 226.8 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.3397, allocations: 191.3 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006052/0.3403, allocations: 247.5 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.3406, allocations: 322.8 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.341, allocations: 174 kB / 1.074 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.3412, allocations: 123.6 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.3414, allocations: 167.5 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.3415, allocations: 20 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005469/0.342, allocations: 411.3 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.3421, allocations: 95.7 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.3423, allocations: 123.4 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.3428, allocations: 0.4911 MB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3428, allocations: 0 / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3428, allocations: 0 / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3428, allocations: 0 / 1.075 GB, free: 3.363 MB / 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.0009186/0.3438, allocations: 0.5576 MB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.3438, allocations: 11.97 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009698/0.3448, allocations: 132.5 kB / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.3451, allocations: 256.5 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3451, allocations: 16.75 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.587e-05/0.3452, allocations: 28.11 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006666/0.3459, allocations: 397.9 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3459, allocations: 0 / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.3459, allocations: 8 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/0.346, allocations: 27.98 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007096/0.3467, allocations: 371.6 kB / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.3486, allocations: 1.742 MB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.3494, allocations: 360.9 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.3497, allocations: 196.4 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.3499, allocations: 97.08 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.3499, allocations: 34.56 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.3499, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.008792/0.3587, allocations: 2.045 MB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3588, allocations: 85.09 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.359, allocations: 183.5 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.359, allocations: 29.7 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.3591, allocations: 156.3 kB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.444e-05/0.3592, allocations: 110.3 kB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.3594, allocations: 81.67 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3595, allocations: 330.8 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.36, allocations: 268.6 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.3606, allocations: 345.5 kB / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.3618, allocations: 0.6267 MB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3618, allocations: 7.938 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001291/0.3631, allocations: 0.6589 MB / 1.084 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3631, allocations: 10.03 kB / 1.084 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3631, allocations: 288 / 1.084 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3631, allocations: 8 kB / 1.084 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00097/0.3641, allocations: 151.8 kB / 1.084 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3641, allocations: 7.938 kB / 1.084 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.3646, allocations: 55.91 kB / 1.084 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.3646, allocations: 16 kB / 1.084 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006397/0.3653, allocations: 371.9 kB / 1.084 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005887/0.3659, allocations: 337.2 kB / 1.085 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001114/0.367, allocations: 0.59 MB / 1.085 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.367, allocations: 0 / 1.085 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001312/0.3683, allocations: 0.6494 MB / 1.086 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3684, allocations: 4 kB / 1.086 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3684, allocations: 4 kB / 1.086 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-06/0.3684, allocations: 4 kB / 1.086 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/0.3693, allocations: 152 kB / 1.086 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3693, allocations: 4 kB / 1.086 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.3698, allocations: 51.92 kB / 1.086 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.3698, allocations: 16 kB / 1.086 GB, free: 7.34 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.0001943/0.37, allocations: 212 kB / 1.086 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.833e-05/0.3701, allocations: 19.81 kB / 1.086 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.3716, allocations: 0.6802 MB / 1.087 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3716, allocations: 4 kB / 1.087 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.3716, allocations: 0 / 1.087 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.3716, allocations: 7.984 kB / 1.087 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.3738, allocations: 1.371 MB / 1.088 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.3739, allocations: 4 kB / 1.088 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.3744, allocations: 115.8 kB / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.3745, allocations: 4 kB / 1.089 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.3745, allocations: 8 kB / 1.089 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.3745, allocations: 8.188 kB / 1.089 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3745, allocations: 8 kB / 1.089 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3756, allocations: 0.717 MB / 1.089 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.3757, allocations: 140.8 kB / 1.089 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/0.3758, allocations: 15.92 kB / 1.089 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.3761, allocations: 43.89 kB / 1.089 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.3763, allocations: 27.91 kB / 1.089 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.3763, allocations: 19.98 kB / 1.089 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001738/0.3765, allocations: 143.8 kB / 1.09 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.843e-06/0.3765, allocations: 0 / 1.09 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006977/0.3772, allocations: 155.9 kB / 1.09 GB, free: 3.484 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.0002407/0.3774, allocations: 131.2 kB / 1.09 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.3793, allocations: 0.9181 MB / 1.091 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3793, allocations: 0 / 1.091 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004388/0.3797, allocations: 253.3 kB / 1.091 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.3803, allocations: 45.64 kB / 1.091 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.3816, allocations: 0.8144 MB / 1.092 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.382, allocations: 0.7838 MB / 1.093 GB, free: 472 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005925/0.3826, allocations: 182.7 kB / 1.093 GB, free: 284 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3828, allocations: 35.42 kB / 1.093 GB, free: 248 kB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3828, allocations: 0 / 1.093 GB, free: 248 kB / 0.8419 GB Notification: Performance of Templates: time 0.008613/0.3914, allocations: 5.122 MB / 1.098 GB, free: 11.14 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)