Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001538/0.001538, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00191/0.00191, allocations: 194.5 kB / 16.14 MB, free: 6.66 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 472.6 MB / 0.7447 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 62.23 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3539, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003988/0.358, allocations: 2.789 MB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.3609, allocations: 2.123 MB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.496e-05/0.3611, allocations: 4 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000704/0.3618, allocations: 215.3 kB / 1.073 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.3622, allocations: 199.3 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.3627, allocations: 243.4 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003886/0.3631, allocations: 450.6 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.3635, allocations: 154 kB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.3636, allocations: 107.6 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.3639, allocations: 163.4 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.3639, allocations: 12 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005971/0.3645, allocations: 475.1 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.844e-05/0.3646, allocations: 95.75 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.3647, allocations: 107.4 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.3653, allocations: 0.491 MB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3653, allocations: 0 / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3653, allocations: 0 / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3653, allocations: 7.938 kB / 1.075 GB, free: 3.34 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.0008797/0.3662, allocations: 0.5576 MB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3663, allocations: 8.031 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009715/0.3672, allocations: 124.5 kB / 1.076 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.3675, allocations: 269.7 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.3676, allocations: 16.75 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.3676, allocations: 28.12 kB / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.3683, allocations: 390 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3683, allocations: 3.938 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.3683, allocations: 11.98 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/0.3684, allocations: 23.98 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007102/0.3691, allocations: 371.6 kB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.371, allocations: 1.738 MB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007082/0.3718, allocations: 352.9 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.3721, allocations: 197.5 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.3722, allocations: 85.09 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3723, allocations: 38.56 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.044e-06/0.3723, allocations: 0 / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.008511/0.3808, allocations: 2.048 MB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.3809, allocations: 81.11 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.3811, allocations: 187.5 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.3811, allocations: 29.7 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.3812, allocations: 148.3 kB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3813, allocations: 126.3 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.3815, allocations: 73.69 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3816, allocations: 338.8 kB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/0.3822, allocations: 268.6 kB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.3828, allocations: 345.5 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.3839, allocations: 0.619 MB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.384, 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.001338/0.3853, allocations: 0.667 MB / 1.084 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3853, allocations: 5.25 kB / 1.084 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3853, allocations: 4 kB / 1.084 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3854, allocations: 7.938 kB / 1.084 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009598/0.3863, allocations: 155.8 kB / 1.084 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.3864, allocations: 4 kB / 1.084 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.3868, allocations: 55.95 kB / 1.084 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.3869, allocations: 19.98 kB / 1.084 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006482/0.3875, allocations: 364 kB / 1.084 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005926/0.3881, allocations: 345.1 kB / 1.085 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0011/0.3893, allocations: 0.59 MB / 1.085 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.3893, allocations: 0 / 1.085 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001301/0.3906, allocations: 0.6454 MB / 1.086 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3906, allocations: 4 kB / 1.086 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3906, allocations: 4 kB / 1.086 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/0.3906, allocations: 8.281 kB / 1.086 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000881/0.3915, allocations: 147.8 kB / 1.086 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.3915, allocations: 7.938 kB / 1.086 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.392, allocations: 51.92 kB / 1.086 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.392, allocations: 19.98 kB / 1.086 GB, free: 7.32 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.0001669/0.3922, allocations: 208.7 kB / 1.086 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.3923, allocations: 19.81 kB / 1.086 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.3937, allocations: 0.6685 MB / 1.087 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3937, allocations: 7.984 kB / 1.087 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3937, allocations: 4 kB / 1.087 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3937, allocations: 0 / 1.087 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.3959, allocations: 1.364 MB / 1.088 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3959, allocations: 0 / 1.088 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.3965, allocations: 123.8 kB / 1.088 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.3965, allocations: 12.25 kB / 1.088 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.3965, allocations: 8 kB / 1.088 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.3965, allocations: 11.88 kB / 1.089 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.3965, allocations: 4 kB / 1.089 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009956/0.3975, allocations: 0.717 MB / 1.089 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.3977, allocations: 144.8 kB / 1.089 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.3977, allocations: 15.94 kB / 1.089 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.3981, allocations: 43.88 kB / 1.089 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.3982, allocations: 23.97 kB / 1.089 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.3982, allocations: 16 kB / 1.089 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001818/0.3984, allocations: 147.2 kB / 1.09 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3984, allocations: 3.938 kB / 1.09 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006578/0.3991, allocations: 148 kB / 1.09 GB, free: 3.48 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.0002169/0.3993, allocations: 135.2 kB / 1.09 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.4012, allocations: 0.8681 MB / 1.091 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4012, allocations: 0 / 1.091 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.4017, allocations: 257.7 kB / 1.091 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.4023, allocations: 55.31 kB / 1.091 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.4038, allocations: 0.8067 MB / 1.092 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.4043, allocations: 0.7838 MB / 1.093 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006374/0.405, allocations: 166.8 kB / 1.093 GB, free: 340 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.4051, allocations: 31.42 kB / 1.093 GB, free: 308 kB / 0.8419 GB Notification: Performance of SimCode: time 1.653e-06/0.4052, allocations: 0 / 1.093 GB, free: 308 kB / 0.8419 GB Notification: Performance of Templates: time 0.01063/0.4158, allocations: 4.959 MB / 1.098 GB, free: 11.37 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)